Questions tagged [google-chrome]

30783 questions
0

votes
1

answer
16

Views

setCustomValidity() not working in Chrome browser

I've got a problem when I'm trying to set custom message in my input: It's working on Firefox browser but on Chrome oninvalid is ignored and it still displays custom message. I've found one topic about version of Chrome HERE, but I have version 74. It's possible they still have not fixed it?
Marshall
1

votes
1

answer
153

Views

How to Search Website From Address Bar

When I write 'stackoverflow.com' or 'bing.com' and then space in google chrome URL, it adds 'search stackoverflow' or 'search bing'. So what do we need to implement in our web app to make google chrome do this? Note: I found stackoverflow and bing as search engine added. I haven't added it. So must...
1

votes
1

answer
319

Views

Chrome doesn't work for vuejs v-on:click in option tag

I have something like the following code : @{{category.category_name }} It works fine in firefox but doesn't work in chrome and safari. in other words @click doesn't work in chrome when it's in an option tag. It's obvious that I'm using vuejs. any idea?
blank94
1

votes
2

answer
217

Views

org.apache.commons.exec.ExecuteException: Process exited with an error with ChromeDriver Chrome Selenium and TestNG Suite

I am observing below error when I am executing TestNG suite through TestNG XML. SEVERE: org.apache.commons.exec.ExecuteException: Process exited with an error: -1073741502 (Exit value: -1073741502) FAILED CONFIGURATION: @BeforeMethod initializetest org.openqa.selenium.WebDriverException: Timed out...
Kovid Mehta
1

votes
2

answer
38

Views

chrome.storage.sync.get always returns default value

I am developing a chrome extension and it requires me to keep track of the last date that the extension was run. To do so, I am using chrome.storage.sync, however, the get call always returns the value that I have set as the default. Below is the code. chrome.storage.sync.get({theDate: {}}, function...
Arj
1

votes
2

answer
105

Views

Google Chrome don't show datalist tag

Since yesterday my google chrome don't show tags of a datalist Like test test test test test Note: The datalist tag is not supported in Internet Explorer 9 and earlier versions, or in Safari. I get for my dropdown datalist only the values, but not the tags 'test' I use Version 73.0.3683.86 (Offiziel...
Tommotmot
1

votes
2

answer
51

Views

Is there any way to open local file directly from 'Elements > Styles' tab in Chrome devtools?

I'm using the Chrome devtools persistence feature with browser-sync and sass. I set a Workspace pointing to my scss folder and I can edit scss files from Chrome and have all css files created correctly, applied to browser real-time and saved in hard drive. However when I select an element on the Ele...
Goblin
1

votes
2

answer
53

Views

How do I add and use Chrome Extensions with Cypress.io?

I'm currently dealing with a an X-Frame-Options issue being blocked when running my Cypress.io tests. I cannot change the server setup to modify the X-Frame settings. Somebody mentioned to me that I should try a chrome extension called 'Ignore X-Frame headers.' I have the extension installed on...
tonyrocks
1

votes
1

answer
25

Views

Chrome Web Store traffic - how can I see a detailed split by traffic source?

Is there a way to see from where traffic is coming to my Chrome Web Store extension? I'd like to understand how many find the extension through: - my own website - searching on Chrome store - searching on Google - find it in a blog etc. This way I could draw similar conclusions that I can do in Goog...
pyrytakala
1

votes
1

answer
52

Views

$x() always returns ƒ (){} in Chrome Developer Tools console on gmail page

$x('//div') always returns ƒ (){} in Chrome Developer Tools console on gmail page. For that matter it returns empty function for any locator. Whereas same locator $x('//div') on a jira page correctly returns array of all divs. Chrome 73.0.3683.103 MacOS 10.14.3 Mojave Any clues? BTW, this locator i...
Sameer Naik
1

votes
2

answer
23

Views

'Connection aborted.', ConnectionResetError(104, 'Connection reset by peer') using Selenium with ChromeDriver and Chrome through Python

The code below is executed in a loop, where 10-15 local .html files are opened and an image of each is saved as a .png. Ubuntu Server 16.04 ChromeDriver 2.41.578700 Google Chrome 74.0.3729.108 selenium 3.141.0 Python 3.6 The first two files are opened and the image is saved, however the rest re...
DreX
0

votes
0

answer
6

Views

Why do the (system), (complied code) and other bracketed objects keeps growing in Chrome memory heap?

I have a visual presentation of a graphical scheme in svg. It consists of a large number of elements(~2000). Each minute I load fresh data(there might be no changes) via background worker, then remove an old svg, all event listeners, and draw a new one. Several hours later the tab's memory usage gro...
vlad
0

votes
0

answer
4

Views

Create-React-App Chrome Extension - Have a second HTML and JS file?

I have a Chrome extension created via create-react-app that injects content a webpage. The extension's popup window is created with React using the index.html file in the public folder and the index.js file in the src folder by default. I currently have another HTML file in the public folder that ge...
chivs688
0

votes
0

answer
6

Views

How to access Browser Extensions (browser namespace) Javascript API in React

I've recently taken some interest in creating a browser extension for Firefox. Because I've got a lot of experience with React & I want to combine that with the browser extension, I'm trying to understand how to implement the browser namespace in React. Let's say I would want to get and render a li...
Cédric Bloem
0

votes
0

answer
2

Views

How to disable keyboard tab focus on Chrome Devtools

While debugging keyboard navigation using chrome, the tab key takes to devtools controls, is there any flag to disable keyboard focus on Chrome DevTools. In the screenshot above you could see that current focus is on Elements tab and pressing tab again will traverse through all the devtools. Note:...
Chetan Sachdev
0

votes
0

answer
12

Views

Chrome throws sercurity warning for downloaded zip file by PHP server

This is my PHP code for getting the file from PHP server: header('Content-Description: File Transfer'); header('Content-type: application/zip'); header('Content-type: '.mime_content_type($file_to_download)); header('Content-Disposition: attachment; filename='.$file_name); header('Content-Transfer-En...
ICE
1

votes
3

answer
1.3k

Views

play DRM content in chrome driver

I'm writing some selenium tests for a HTML5 player playing DRM content, the player works fine in Chrome when I test it manually, but nothing is loaded or played in the latest chrome driver if I run my test cases. Is it because of the drm content isn't authorized to play in chrome driver or something...
nieschumi
0

votes
1

answer
11

Views

font-size in Chrome with animations doesn't work correctly

It seems like the font-size with animations doesn't work correctly. Anything below font-size: 6px doesn't change the size of the element. This seems to be a new things and works correctly in Firefox. See example below. https://jsfiddle.net/72tdqxme/7/ enter code here
Dimitry
1

votes
1

answer
1.3k

Views

How to redirect URLs using chrome.webRequest API?

background.js: chrome.webRequest.onBeforeRequest.addListener(function (details) { console.log(details.url); window.location.href = 'http://time.com/'; }, {urls: ['']}, []); It shows all requests in the console when I visit a web site, but it doesn't redirect the site to time.com. Additional Informat...
Kaeus
1

votes
2

answer
1.8k

Views

Is there any maximum/minimum timeout for the xmlhttprequest?

Is there any maximum timeout for the xmlhttprequest ? Currently its not possible to set timeout value more than 1 minute in chrome. let xmlHttpRequest: XMLHttpRequest = new XMLHttpRequest(); xmlHttpRequest.timeout = 120000;
Madhu
1

votes
0

answer
7

Views

How can I fix 'Unchecked runtime.lastError: The message port closed before a response was received.' when linking to G-Cal events?

I am attempting to generate a link that takes the user directly to the Google Calendar event selected. The link I generate is identical to the link that you arrive at when going through the Calendar interface, however, when the user selects the link it loads a blank white page with the Google Calen...
Elias White
1

votes
2

answer
356

Views

Window is loading first than DOM with jQuery on Google Chrome

I'm new to jQuery.I have learned that DOM content will be loaded first and then window.onload event will occur as all the style sheets and images have to be loaded. But this doesn't turn out for me with the following code Add Event Listener $(document).ready(function(){ alert('DOM Loaded'); }); $(wi...
R.S.S.H KRISHNA
1

votes
2

answer
567

Views

How can I include mobile device details in headers when making a request?

I'm using puppeteer to make a request to a web page and I've tried setting the view port to mobile device's as follows: await page.setViewport({ width: 350, height: 700}); however, this doesn't get me the mobile site and instead I'm redirected to the desktop viewport site. When using chrome develope...
andromeda
1

votes
2

answer
1.3k

Views

Printing breaks bootstrap layout

I have the following page: Column 1,1 in small row 1 in xs Column 1,2 in small row 2 in xs Column 2,1 in small row 3 in xs Column 2,2 in small row 4 in xs This page appears as expected when viewing (i.e. there's 2 columns and 2 rows on small+ screens and 4 rows on mobile) however the problem is...
apokryfos
1

votes
1

answer
97

Views

How to close gmail compose dialog programmatically in chrome extension

I have replaced the 'Send' button in the compose dialog with my 'Send' button and using 'Gmail API' to send the email. I am able to send the email and get the response. Now to make it more user-friendly, I want to close the compose dialog after my email is sent (similarly when the Gmail closes the d...
Pallavi Goyal
1

votes
1

answer
884

Views

Can't get rid of missing manifest.json error

I'm building an ASP.NET Core app with ReactJs front-end in Visual Studio 2017. Recently, I started to notice the missing manifest.json error in the console -- see below. It doesn't seem to effect my app but I do want to get rid of this error. If I view my app in Edge, I don't see the missing manifes...
Sam
1

votes
1

answer
55

Views

Showing popup on page_action

What am I missing that popup is not being shown? In popup folderI have four files. I load that file as extension. I can see the icon, but when I click on it popup i snot shown. Why? content_script.js: empty (just added so that I can load the extension) icon.png: It is shown, when I load extension. m...
user1953366
1

votes
3

answer
75

Views

How many Selenium driven automated browser can be initiated on a single computer at the same time [closed]

Can anyone help me to calculate how many Selenium driven automated browser can be initiated on a single computer at the same time? Note: If it matters, I am using ChromeDriver and Chrome for this purpose through C# Selenium bindings.
Riza
0

votes
0

answer
15

Views

SetSize() not working properly : selenium + java

i'm trying to set my browser size through the following code by setting it to (411,850) but its setting it to (513,850) for windows only.: width is 513 instead of 411 ,only for windows. public void setSize(int width, int height) { try { System.out.println('Before setSize : '+driver.manage().window()...
josh
2

votes
0

answer
93

Views

Backend error 500 when accessing Chrome Web Store licensing API

I'm trying to make a chrome extension, which will have a free trial. Following the documentation here, the first thing to do is enabling Chrome Identity API. As far as i can tell, there's no such thing... Anyway... I've done every other steps, and ends up with a 500 error. Here is part of what i've...
JSlain
1

votes
0

answer
495

Views

Timeout trying to use Chrome Headless Browser print-to-pdf with Selenium WebDriver C#

I'm trying to create a ChromeDriver object using the ChromeOptions that will print the screen to a p.pdf. If I run the following command I'll get that: 'C:\Program Files (x86)\Google\Chrome\Application\chrome' --headless --enable-logging --disable-gpu --print-to-pdf=C:\Users\Me\Documents\google.pdf...
user2961759
1

votes
0

answer
137

Views

Any Chance to make CodeMirror play on Android Chrome?

I understand CodeMirror has issues on mobile and behavior varies with extensions in use. However, for me it seems pretty much unusable everywhere I encounter it on Android. Have a look at Kotlin Koans and try the Backspace key. Amongst other things, I get gobbledygock and a bunch of newlines. I did...
Andreas Steffan
1

votes
0

answer
46

Views

Why is the code in my DevTools sources tab cut off?

Steps: Put debugger in code Run Code Chrome stops at debugger Note: I believe sometimes you have to refresh the screen or have multiple debuggers to see. See Image
Sequential
1

votes
0

answer
136

Views

localStorage access from firefox extension scope

I have a Selenium program running Chrome/Firefox web drivers with my extension on each browser. The extension is generic and each time the program runs it loads different config to the extension using localStorage. The flow is: Start the web driver with the extension installed. Navigate to a web pag...
Adi Ohana
1

votes
0

answer
158

Views

Errors when instaling chrome

I am trying to install Chrome on RHEL 7 (64bit) machine but it's showing some errors. Finished Dependency Resolution Error: Package: google-chrome-stable-63.0.3239.108-1.x86_64 (google-chrome) Requires: libnss3.so(NSS_3.22)(64bit) Error: Package: google-chrome-stable-63.0.3239.108-1.x86_64 (google-c...
Akkaldevi Sairam
1

votes
0

answer
58

Views

Javascript bezierCurveTo() draws different curvature depending on lineWidth

I`m trying to draw a long (actually very long) bezier lines on my graph. When hover over line it should become thicker. And i encountered an issue. Sometimes lines has different curvature depending on lineWidth in Chrome. Code exapmle const canvas = document.getElementById('canvas'); const ctx = can...
Eugeniy Taranov
0

votes
2

answer
15

Views

How can I close the current driver tab if xpath is NOT found?

If a specific XPath is NOT present, I need python to close the tab. What can I do? I'm using Python + Selenium with Chrome.
thatpoppy fan
2

votes
0

answer
11

Views

Service worker doesn't work on offline mode in chrome

I'm new on the world of angular /Angular CLI and i begin with service worker I try to use this tutorial : https://angular.io/guide/service-worker-getting-started And with another tutorial for create an app with angularCli who have all files for the service worker 1) for the exemple my app name is '...
Yoann Basquin
1

votes
2

answer
5k

Views

Local swf files not working in Google Chrome

When i open an swf file, Google Chrome downloads it, when it's already downloaded. And then says 'this kind of file can harm your computer', and it just wont play it.

View additional questions