Appium used H5 page can not be switched environment

1. Positioning app pages of H5, using contexts = self.driver.contexts print print (contexts) findings that only natives,

The reason is to develop the debug attribute setWebContentDebuggingEnabled when packaging, open webview of (true)

2. Use Chrome page as a blank page, you need FQ ~

Guess you like

Origin www.cnblogs.com/zzxzxj/p/10975381.html