Questions tagged [google-chrome]

[google-chrome] is for questions related to development with Google Chrome, a web browser that uses the Blink rendering engine. Warning! General support for the browser is off-topic: questions about using or configuring the browser should be posted on https://superuser.com. Chrome OS and Chromium are off-topic: questions about [google-chrome-os] or [chromium] should use those tags.

Google Chrome is a free desktop browser that uses the Blink rendering engine (a fork of WebKit) and V8 JavaScript engine. It was launched in 2008 with a goal of making the web faster.


Tag alert! General usage questions about Chrome should be asked on Super User.
The tags below should be used on questions about development in the following areas:

for Packaged Apps development in Chrome/Chromium
for extension development in Chrome/Chromium
for DevTools in Chrome/Chromium


Most of Chrome's source code is released as part of the open-source sister project Chromium. It was assembled from 25 different code libraries from Google and third parties such as Mozilla's Netscape Portable Runtime, Network Security Services, as well as and a number of other open-source projects.

is available in 53 languages and was first publicly released for Microsoft Windows (XP and later versions) on September 2, 2008, in 43 languages, officially a beta version.


Platforms

Chrome is available for:

  • Windows: Vista / 7 / 8 / 10
    (Windows XP is no longer supported: Chrome 49 is the last compatible version)
  • OS X: 10.6 or later
  • Linux: Ubuntu 12.04 or later / Debian 7 or later / openSUSE 12.2 or later / Fedora 17 or later
  • iOS 7.0 or later (iPhone, iPod touch, and iPad)
  • Android 4.0 or later
  • Google TV

References

71967 questions
486
votes
4 answers

How to use Chrome's network debugger with redirects

The Chrome network debugger gives me a great view of all the HTTP resources loaded for a page. But it clears the list whenever a new top-level HTML page is loaded. This makes it very difficult to debug pages that automatically reload for one reason…
Leopd
  • 41,333
  • 31
  • 129
  • 167
478
votes
27 answers

How to wait until an element exists?

I'm working on an Extension in Chrome, and I'm wondering: what's the best way to find out when an element comes into existence? Using plain javascript, with an interval that checks until an element exists, or does jQuery have some easy way to do…
mattsven
  • 22,305
  • 11
  • 68
  • 104
478
votes
15 answers

How do I print debug messages in the Google Chrome JavaScript Console?

How do I print debug messages in the Google Chrome JavaScript Console? Please note that the JavaScript Console is not the same as the JavaScript Debugger; they have different syntaxes AFAIK, so the print command in JavaScript Debugger will not work…
Tamas Czinege
  • 118,853
  • 40
  • 150
  • 176
476
votes
29 answers

How to clear basic authentication details in chrome

I'm working on a site that uses basic authentication. Using Chrome I've logged in using the basic auth. I now want to remove the basic authentication details from the browser and try a different login. How do you clear the current basic…
opsb
  • 29,325
  • 19
  • 89
  • 99
474
votes
52 answers

Debugging "Element is not clickable at point" error

I see this only in Chrome. The full error message reads: "org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..." The element that 'would receive the click' is to the side…
user1591169
  • 4,741
  • 3
  • 14
  • 3
470
votes
18 answers

How to fix 'Unchecked runtime.lastError: The message port closed before a response was received' chrome issue?

I'm using VueJS and Laravel for my project. This issue started to show lately and it shows even in the old git branches. This error only shows in the Chrome browser.
3UMF
  • 5,162
  • 2
  • 15
  • 26
468
votes
36 answers

"CAUTION: provisional headers are shown" in Chrome debugger

I noticed a strange caution message when looking at downloaded resources using Google chrome inspector (F12): Caution provisional headers are shown I found something possibly relevant, Network Panel: add caution about provisional request headers,…
Salvador Dali
  • 214,103
  • 147
  • 703
  • 753
461
votes
7 answers

How to search all loaded scripts in Chrome Developer Tools?

In Firebug, you can search some text and it will look for it in all scripts loaded on a page. Can the same be done in Chrome Developer tools while debugging client script? I tried it, but it seems to search only in the script I have open, and not…
Slavo
  • 15,255
  • 11
  • 47
  • 60
443
votes
15 answers

How do you launch the JavaScript debugger in Google Chrome?

When using Google Chrome, I want to debug some JavaScript code. How can I do that?
Kevin Driedger
  • 51,492
  • 15
  • 48
  • 55
439
votes
8 answers

Chrome desktop notification example

How does one use Chrome desktop notifications? I'd like that use that in my own code. Update: Here's a blog post explaining webkit notifications with an example.
Sridhar Ratnakumar
  • 81,433
  • 63
  • 146
  • 187
434
votes
14 answers

Is there a way to get the XPath in Google Chrome?

I have a webpage I want to use with YQL. But I need the XPath of a specific item. I can see it in the debug tools area for Google Chrome but I don't see a way to copy that XPath. Is there a way to copy a full XPath?
GeoffreyF67
  • 11,061
  • 11
  • 46
  • 56
427
votes
8 answers

How to reset / remove chrome's input highlighting / focus border?

I have seen that chrome puts a thicker border on :focus but it kind of looks off in my case where I've used border-radius also. Is there anyway to remove that?
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
425
votes
34 answers

maxlength ignored for input type="number" in Chrome

The maxlength attribute is not working with . This happens only in Chrome.
Prajila V P
  • 5,027
  • 2
  • 23
  • 36
425
votes
9 answers

What's the difference between console.dir and console.log?

In Chrome the console object defines two methods that seem to do the same thing: console.log(...) console.dir(...) I read somewhere online that dir takes a copy of the object before logging it, whereas log just passes the reference to the console,…
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
409
votes
4 answers

What's the difference between "Normal Reload", "Hard Reload", and "Empty Cache and Hard Reload" in Chrome?

I recently discovered this new feature in Chrome: I can figure out the difference between option 1 and option 3, and that option 2 is probably something in between, but I can't find any more precise information anywhere. Does anybody know the…
Samuel Rossille
  • 18,940
  • 18
  • 62
  • 90