File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments