admc / wd

A node.js client for webdriver/selenium 2.
Other
1.53k stars 402 forks source link

501 implementation error with windowHandle() and windowHandles() #505

Open kortegel opened 6 years ago

kortegel commented 6 years ago

Using appium 1.7.1 and iOS 11.1 I receive a 501 implementation error while using windowHandle() and windowHandles() [debug] [MJSONWP] Calling AppiumDriver.getWindowHandle() with args: ["796676f6-4a9a-4421-bf0a-0c8a4a4daaf2"] [debug] [XCUITest] Executing command 'getWindowHandle' [HTTP] <-- GET /wd/hub/session/796676f6-4a9a-4421-bf0a-0c8a4a4daaf2/window_handle 501 1 ms - 112 [HTTP] --> DELETE /wd/hub/session/796676f6-4a9a-4421-bf0a-0c8a4a4daaf2 {}

Android automatically switches to the newly opened window and I do not need to do a switch so I do not need to perform a windowHandles().