Appium android phone had to switch screens

Appium for Android phone horizontal and vertical screen switch http://appium.io/docs/en/commands/session/orientation/get-orientation/ definition.

Practical applications, the following cross-screen switching 
driver.orientation = "LANDSCAPE"

Vertical screen switch as follows

driver.orientation = "PORTRAIT"

However, in actual use, the APP system during the test page upon switching the native landscape, portrait will even then cut, Flutter page display is enlarged, and only opened manually turn off panel switch can normally display.

If you have a good way to remember the message, thank you!

Published 17 original articles · won praise 2 · Views 5274

Guess you like

Origin blog.csdn.net/tiekun888/article/details/99287466