anyone know of way open chrome dev tools new window upon open?
i know can click f12 , click 'customize' button , change orientation or pop out dev tools window. that's step, , window resize necessary, , when 50 times day, gets tedious.
also, sometimes, on pages i'm testing, pressing f12 change layout of elements on page , popping out dev tools leaves page layout different before opened dev tools. can make hard tell if element visible or not, makes troubleshooting webdriver more difficult.
ideally, ctrl+f12 or open dev tools separate window super handy. (to chromium devs might listening ;) if has solution, i'd love hear it.
if have devtools un-docked, dock mode, size , position of devtools window remain same set it. example, set mine maximised on other monitor. every time open devtools, it's un-docked, maximised window, , there's no change layout of inspected window other fact it's no longer in focus.
you alternatively launch chrome using --auto-open-devtools-for-tabs
flag, automatically open devtools in dock mode, size , position had previously. can use:
mac:/applications/google\ chrome.app/contents/macos/google\ chrome --auto-open-devtools-for-tabs
windows: "c:\program files (x86)\google\chrome\application\chrome.exe" --auto-open-devtools-for-tabs
in webdriver, can set flags how chrome opens. however, after looking further, turns out chrome currently not support multiple clients connected protocol simultaneously.
as speeding things up, can switch between dock positions cmd+shift+d (mac) or ctrl+shift+d (windows). toggles between last 2 modes have used, have docked @ bottom, pop out, using shortcut toggle between two.
Comments
Post a Comment