Category: Google

1

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

0

Debug – chrome.storage.local

Solution 1 chrome.storage.local.get(‘key_name’, result => console.log(`${result.key_name}`)) Solution 2 Install the following extension https://chrome.google.com/webstore/detail/storage-area-explorer/ocfjjjjhkpapocigimmppepjgfdecjkb/ Open the dev tools for your chrome app You should see a new tab called Storage Explorer Storage Explorer will show...

0

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