Tagged: webview


Automate chrome apps

Chrome apps written using webview are different than iFrames because webview is a separate process. With Selenium 2.20 it is possible to automate chrome apps written using webview. driver = webdriver.Chrome(desired_capabilities={‘chromeOptions’:{‘windowTypes’:[‘webview’]}}) driver.get(‘chrome://apps’) wait_for_new_window_to_appear() driver.switch_to.window(driver.window_handles[1])...


webview autofocus not working with input

If you are using webview to load other website, and if that website has autofocus enabled then autofocus will not work in the webview by default. You will have to explicitly enable the autofocus....