Is it possible to automatically open Google Chrome devtools?
google-chrome-devtools, junit4, selenium, selenium-chromedriver, selenium-webdriver
Solution
at the terminal, type the following -
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --auto-open-devtools-for-tabs
Problem
Given that Selenium 2 closes the devtools window which contains my emulator profile saved under my user profile for chrome. Is there a way to trigger devtools to open using a selenium script? Here is the info on the devtools window closing issue https://sites.google.com/a/chromium.org/chromedriver/help/devtools-window-keeps-closing I feel a little exhausted trying some of these Chromium override parameters only one of which seems to work http://peter.sh/experiments/chromium-command-line-switches/ The one that had any affect is the following ``` options.addArguments("user-data-dir=/Path/to/chrome/profile"); ``` If there is no way to open the dev tools window or panel, is there a way to initialize the emulator?