Cannot switch to webview due to error webdriver object has no attribute 'contexts'

Hi all,

I am new to Appium, my target testing APP is a webview based one that I need to switch to webview before performing any operation on the application, but when I try to get the contexts list and switch to web view context with below scripts, always meet exception as: webdriver object has no attribute ‘contexts’.
Please help on this as I’am just evaluating whether appium is suitable for our application but get blocked by this issue>< thanks in advance

(python based scripts, my appium version is 1.3.4)
for context in contexts:
print context

1 Like

resolved by upgrading the Appium-Python-Client and selenium to the latest version :smile:

1 Like