Chrome dev tool shortcut keys

Ask general questions here.
SanMan
Posts: 210
Joined: Tue Apr 13, 2010 9:59 am

Chrome dev tool shortcut keys

Post by SanMan » Mon Nov 19, 2018 11:52 am

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+[

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Chrome dev tool shortcut keys

Post by odklizec » Mon Nov 19, 2018 1:16 pm

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+]).
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

SanMan
Posts: 210
Joined: Tue Apr 13, 2010 9:59 am

Re: Chrome dev tool shortcut keys

Post by SanMan » Tue Nov 20, 2018 9:10 am

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?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Chrome dev tool shortcut keys

Post by odklizec » Tue Nov 20, 2018 9:33 am

Hi,

If you don't have anything like ChromeForm (from my screenshot) in your repository, you must create it. The same for DevTools element.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

SanMan
Posts: 210
Joined: Tue Apr 13, 2010 9:59 am

Re: Chrome dev tool shortcut keys

Post by SanMan » Tue Nov 20, 2018 10:32 am

Thank you so much!! I got it working. :)