diff --git a/py/selenium/webdriver/common/desired_capabilities.py b/py/selenium/webdriver/common/desired_capabilities.py index acf4ef8d49e06..ca18590158849 100755 --- a/py/selenium/webdriver/common/desired_capabilities.py +++ b/py/selenium/webdriver/common/desired_capabilities.py @@ -22,21 +22,21 @@ class DesiredCapabilities(object): Set of supported desired capabilities. Use this as a starting point for creating a desired capabilities object for - requesting remote webdrivers from selenium server, or selenium grid. + requesting remote webdrivers from selenium server or selenium grid. Usage Example: from selenium import webdriver - selenim_grid_url = "http://198.0.0.1:4444/wd/hub" + selenium_grid_url = "http://198.0.0.1:4444/wd/hub" # Create a desired capabilities object as a starting point. capabilities = DesiredCapabilities.FIREFOX capabilities['platform'] = "WINDOWS" capabilities['version'] = "10" - # Request a remote webdriver the the desired capabilities. + # Instantiate an instance of Remote WebDriver with the desired capabilities. driver = webdriver.Remote(desired_capabilities=capabilities, command_executor=selenium_grid_url)