Skip to content

Commit

Permalink
Fix spelling and corrected comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Inman-Semerau <[email protected]>
  • Loading branch information
David Lai authored and lukeis committed Dec 7, 2013
1 parent 309bf2e commit 6167444
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py/selenium/webdriver/common/desired_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6167444

Please sign in to comment.