admc / wd

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

setOrientation on error 13 still turn the screen when we come back in an application #528

Open Nicolas-Menettrier opened 6 years ago

Nicolas-Menettrier commented 6 years ago

When i do a driver.setOrientation("landscape") on my launch screen (who can't be in landscape mode) it fail with the error status 13 which is normal, but when i go into an application like google chrome my phone go in landscape mode. I tried to setOrientation("portrait") on fail but it's not working. Any idea why this behavior ?