Category: Google


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])...


Debug –

Solution 1‘key_name’, result => console.log(`${result.key_name}`)) Solution 2 Install the following extension Open the dev tools for your chrome app You should see a new tab called Storage Explorer Storage Explorer will show...


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....