Skip to content

Commit 67a561d

Browse files
authored
docs: update docstring (#986)
1 parent 85e921c commit 67a561d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appium/webdriver/webdriver.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_command(self, argument):
118118
def add_command(self):
119119
return ('post', 'session/$sessionId/path/to/your/custom/url')
120120
121-
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps,
121+
driver = webdriver.Remote('http://localhost:4723/wd/hub', options=options,
122122
extensions=[YourCustomCommand])
123123
124124
# Then, the driver sends a post request to `session/$sessionId/path/to/your/custom/url`
@@ -138,7 +138,7 @@ def custom_method_name(self, element_id):
138138
def add_command(self):
139139
return ('GET', 'session/$sessionId/path/to/your/custom/$id/url')
140140
141-
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps,
141+
driver = webdriver.Remote('http://localhost:4723/wd/hub', options=options,
142142
extensions=[YourCustomCommand])
143143
element = driver.find_elemeent(by=AppiumBy.ACCESSIBILITY_ID, value='id')
144144

0 commit comments

Comments
 (0)