Chrome Developer Console shortcut CTRL Shift J does nothing - google-chrome

I'm trying to write an AHK bot that fills in input boxes in a Webapp so I need to be able to open the Developer Tools > Console with a simple shortcut.
The shortcut that says it should open Console doesn't do anything(CTRL + Shift + J). However if I use the Right Shift + Right Control + J it does open the Elements tab, but that's not what I meant to open, the Console tab inside Chrome Dev Tools.
https://developers.google.com/web/tools/chrome-devtools/shortcuts
Any tips?
My keyboard layout is Icelandic. Need the bot to be able to launch in that layout and any other layout for that matter.
Thanks.

Solved by pressing F12 then the ESC (escape) key, that brings up the Console.
Not sure why the Chrome developer blog doesn't list the right shortcut though.

Even for me Command+Option+J is not working.
F12 is equivalent to Command+Option+I Open whatever panel you used last

No, Shift+CTRL+J takes an instant GIF of me struggling to open the javascript console.

Related

Keyboard shortcut to access Chrome bookmarks (mac)

I seem to be almost entirely mouse-free at this point, minus being able to access the Bookmarks bar in Chrome with a keyboard shortcut! I've searched the web quite a bit for an answer, but to no avail....any ideas or workaround?
EDIT: Use Firefox. You can CMD + B --> will open Bookmarks navigator, and you can type to search, hit TAB, and then arrow through results
If you are hoping to click on the actual bookmarks on your Google Chrome browser, using keyboard shortcuts, on Mac, you can make use of Mac's Keyboard shortcuts feature.
Open System settings app
Open Shortcuts section under Keyboard
Choose App shortcuts
Click +
Choose Google Chrome as application
On the title field, enter Bookmarks->{Bookmark-name-goes-here}
Set a hotkey
Save the changes and you can now use this hotkey to call that bookmark. This basically is setting a shortcut to your browser's menu item.
Holmes is an extension that allows a shortcut activated bookmark search similar to Garrett's answer but without the "read and change all the data on any websites that you visit" permission.
Install the tool then press shift+alt+H
⌘ + Option + b
or
⌘ + Shift + b
Try this shortcut
cmd+opt+B
I found a chrome plugin that is super useful and goes beyond what I was hoping for. It's called Bookmark Navigator. Here is the link https://chrome.google.com/webstore/detail/bookmark-navigator/bfibpphfhdpgkmbpkfmhdiklgcfmmkha
Below is a picture of what it looks like. The tool is summoned with cmd + b, and then you can start typing to search all of your bookmarks. You can press enter to access the bookmark at top of list, or use arrow keys to navigate further down the list.
This is the fastest and most user friendly option I have found.

Is there any way of opening a new tab in chrome without using ctrl + t through selenium webdriver?

I am working with selenium webdriver and JAVA. I would like to open a new tab in chrome browser without using CTRL + T, As it requires the browser to remain in focus. Is there any way where browser is not in focus and we can still manage to open a new tab?
Have you tried something like
driver.findElement(By.tagName("body")).sendKeys(Keys.CONTROL + "t");
I would think that would bring the browser back into focus. Or click on some random element that results in no action and then sendKeys().

How can I force the Chrome browser to disable an extension by reloading it too frequently?

I'm using a managed C720 Chromebook. Developer mode and most things of that nature are disabled. Web filtering is enabled from the "Chromium M" extension. When I restarted my device, the extension was automatically disabled because "This extension reloaded itself too frequently".
Is it possible for me to recreate the circumstances that lead to that happening?
Yes, you can, there is a way:
1) You can try and do developer mode, and keep spamming CTRL + D + Forward Button.
2) Login normally, but keep on spamming those buttons, then change to like a guest wifi, or a slow one then CTRL + SHFT + BACKSPACE, and delete your history, and that should be it, if it doesnt work the first time it should work the second time.
go to chrome://inspect/#extensions
click on inspect under the chromium m extension
go to the console tab
type close(window)

Chrome DevTools Toggle Comment Shortcut not working

I started to use Chrome workspaces which is an awesome feature. Unfortunately the "toggle comment" shortcut (http://anti-code.com/devtools-cheatsheet/) "Cmd+/" is not working. When I press "Cmd+7" nothing happens or if the "switch panels" is on, then the panels switch. When pressing "Cmd + shift + 7" the help menu shows up from the top bar. How can I fix this. I really need this toggle comment shortcut.
There is a bug with some shortcuts that require to press a modifier key on non-english keyboard. I reported the issue here.
Workaround for Windows/Linux :
If you are using a german keyboard layout, pressing Ctrl + * should do the trick in the meantime. Make sure you use the * that is not on the numerical keyboard.
Workaround for Mac OS :
Use a keyboard layout editor, for example Ukelele, so as you can output a / without having to press Shift or any other modifier key.
I just checked that the shortcuts you are trying to use do actually work. I wrote the cheatsheet btw. The shortcuts work when you are using Chrome Canary, and you have to set up a workspace to work on the code that way. Also, Cmd+7 for me jumps to the 7th tab in my DevTools. Perhaps you have some other program overriding the shortcut key for that.
For more information on workspaces
There's also a more comprehensive list of shortcuts here.

How to remove all breakpoints in one step in Google Chrome?

How to remove all breakpoints in one step in Google Chrome? Using version 11.
[update]
There is now a feature request for this.
[update]
The feature request is closed (Dec 2011)!
This is now possible in Sources tab of Chrome Developer Tools.
Please see screen grab below and right click within the "Breakpoints" section of the left window.
Since recently (Chrome 18), you can right-click any breakpoint in the Breakpoints pane and voila! The "Remove All JavaScript Breakpoints" popup menu item!
Chrome Devtools crashed everytime I tried to access the Sources panel because of a breakpoint on a minified Javascript file.
To remove all breakpoints without access to the interface, you can do the following:
Open inspector-on-inspector : undock first inspector and hit ctrl+shift+i to open the second
On the inspector-on-inspector console, execute the following:
window.localStorage.breakpoints = [];
Close the inspectors and reload the page. Now the breakpoints are gone.
Under Sources, you can click button marked with red on picture below or use shortcut Ctrl + F8 just like tool tip is showing (activate / deactivate breakpoints). A little bit lower under 'Breakpoints' you will see all your breakpoints. If you choose to disable all, they will be grayed out.
solution here.
To purge all breakpoints open inspector on inspector (undock first
inspector and hit ctrl-shift-I to open the second) and run
"WebInspector.settings.domBreakpoints.set([])" in second inspector's
console.
new Tabs; Ctrl+Shift+J to Console; Access URL
Open the Chrome task manager and end the tab page.
Ctrl+Shift+J to Application -> Service Workers (Offiline) -> Refresh
to Sources Cancel Breakpoint
Success
Another option is to de-activate all break points using:
Ctrl + F8
In my case Uninstall and new installation of Chrome was without any success.
Also window.localStorage.clear() did not help.
My "last chance solution" is to remove entire directory where Chrome is storing its data.
First turn off your Chrome.
Then look at this path "c:\Users\ {your_user} \AppData\Local\Google\Chrome\User Data\Default\Local Storage\". Here try to delete all what is in this directory.
You can also clear all inspector settings and reload the inspector. It helped me with fantom breakpoint I could not remove in any other way. Open inspector and go to Preferences -> Sync -> Restore defaults and reload (at the bottom).
Step 1: Go to Developer tools and expand Breakpoint section
Step 2: Right click on expanded area of breakpint and there will be many options lik