Page 1 of 1

Chrome dev tool shortcut keys

Posted: Mon Nov 19, 2018 11:52 am
by SanMan
Ranorex cannot control the Dev tools. I need to focus "Network" panel.

Have I understood correctly that with "Control+]" I should be able to navigate between panels?

I did not get this working...

https://developers.google.com/web/tools ... /shortcuts

Global keyboard shortcuts
The following keyboard shortcuts are available in most, if not all, DevTools panels.

Action Mac Windows / Linux
Show Settings ? or Function+F1 ? or F1
Focus the next panel Command+] Control+]
Focus the previous panel Command+[ Control+[

Re: Chrome dev tool shortcut keys

Posted: Mon Nov 19, 2018 1:16 pm
by odklizec
Hi,

At first, you must start chrome with this argument:
--args --force-renderer-accessibility
At next, you should use something like this, to invoke shortcuts in Chrome form and dev tools element...
DevTools_shortcuts.png
These actions will open dev. tools and switch to next tab (Ctrl+]).

Re: Chrome dev tool shortcut keys

Posted: Tue Nov 20, 2018 9:10 am
by SanMan
Thank you for your answer.

So first I should start Chrome with argument:

Report.Log(ReportLevel.Info, "Website", "Opening web site 'http://www.ranorex.com' with browser 'Chrome' in normal mode (with arguments --args --force-renderer-accessibility).", new RecordItemIndex(0));
Host.Current.OpenBrowser("http://www.ranorex.com", "Chrome", "--args --force-renderer-accessibility", false, false, false, false, false, true);
Delay.Milliseconds(0);

Should I create this repository item "ChromeForm" or should Spy now find this "ChromeForm" after started with this argument?

Re: Chrome dev tool shortcut keys

Posted: Tue Nov 20, 2018 9:33 am
by odklizec
Hi,

If you don't have anything like ChromeForm (from my screenshot) in your repository, you must create it. The same for DevTools element.

Re: Chrome dev tool shortcut keys

Posted: Tue Nov 20, 2018 10:32 am
by SanMan
Thank you so much!! I got it working. :)