Questions tagged [google-chrome]

30753 questions
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.
1

votes
1

answer
58

Views

Extract data from WebPage via chrome Extention

I am looking to make a chrome extension which is continuously scans the webpage I'm currently on, and looks for certain keywords that I type, and if those keywords are typed then do some action accordingly. How is this possible in JavaScript? a rather simpler yet useful information would help a lot...
Rafay Shams
1

votes
1

answer
166

Views

Break point 'break on subtree modifications' of 'html' element can not be removed in chrome devtool

The break point added to html element cannot be removed. Tried to use 'remove all DOM breakpoints', but when page refreshed, the break point get back again. System env: Chrome 63.0.3239.108(x64) macOS 10.13.2
chen
1

votes
0

answer
458

Views

Use env variable in background script of Chrome extension

Is there a way to use an env variable in a background script of a Chrome extension? I need to conditionally take an action depending on whether we are in development/production environment.
MrCholo
1

votes
0

answer
1k

Views

How to hide Request Payload from network (developer tool) in chrome, firefox or safari through Node JS

I am using Rest API created in Node JS, for POST request i am passing body in JSON format, when i hit api all data coming with proper JSON format in Network Tab of developer console. I want to hide my request payload.as exposing key might create problem. I am working over HTTP.
yogesh agrawal
1

votes
1

answer
597

Views

get chrome app console logs in chrome os debug log

I've got a chrome app with several isolated layers (webviews, iframes), all those layers are logging some debugging stuff to console with console.log(). I managed to get all console logs inside a chrome debug log when launching chrome on mac os with --enable-logging --v=1 flags. The problem is I can...
Victor L.
1

votes
0

answer
347

Views

Chrome driver not working headlessly with Python and Selenium

I am new to Selenium programming with Python. I am trying to use the switch_to.frame() and other driver functions after opening a URL. The code works fine without the --headless argument, but does not execute at all when I try to run it headlessly. Could someone help me out with it? The URLs I am tr...
Eetnawa
1

votes
0

answer
3.4k

Views

Only secure origins are allowed

I have a server and machines that access my application with Google Chrone. When trying to access the webcam I get this message: Uncaught (in promise) DOMException: Only secure origins are allowed I've found many solutions on stackoverflow for it, such as having SSL or executing chrome with options,...
pedrofialho
1

votes
0

answer
60

Views

Queuing of Request taking around 1-3 sec delay in chrome browser for angular2 and RX js

I am currently working in angular-2 project and using RX js. During performance analysis get some issue for HTTP calls,Below is the details about the problem. There is 1-3 sec delay for queuing the two subsequent request. below is the screen shot for the same can anyone help me out why this delay oc...
gourab
1

votes
1

answer
298

Views

Progressive Web App Notification When Clearing Tasks/Killing App

I've been experimenting with Progressive Web Apps (PWA) and using service workers to create native Notifications on phones (like a Galaxy s7/s8). All has been working great if the page/PWA is open or in the background/tasks (super slick :D), but one thing I've noticed is that if it is killed via th...
karns
1

votes
1

answer
507

Views

Is it possible “disable-web-security” on Chrome for only selected web sites?

When you hit the bloody pre-flight error ( at those XHR requests during your development), the recommended solution is this: open -a Google\ Chrome --args --disable-web-security --user-data-dir Well, I do not want that do this cause Chrome is my default browser for browsing the Net and my developmen...
Average Joe
1

votes
0

answer
538

Views

Chrome not trusting Fiddler certificates

Similar to this question: Chrome Doesn't Trust Fiddler Root Certificate But the upvoted answer (https://stackoverflow.com/a/33818661/1250301) doesn't seem to be working for me in fiddler v 5.0. If I load a site with https in chrome I get NET::ERR_CERT_AUTHORITY_INVALID message. If I 'reset all certi...
Matt Burland
1

votes
0

answer
92

Views

Get the links from a page using Headless Chrome

Is there a way I can get the links from a page using headless chrome with Chrome DevTools Protocol? I tried with Runtime.compileScript() && Runtime.runScript() but these methods just execute scripts without returning a response... const script = { expression: 'document.links', sourceURL: 'https://ww...
Valip
1

votes
2

answer
410

Views

window.open _self not working in background.js - chrome extension

Good morning Masters ^^ Firstly, i just have a small problem what i cant solve o.o I have a google chrome extension program which made those : - If mouse event happening then open one other page (itself detectionclicks.js) - If until 5 minutes not happening mouse event open back the before page (its...
Jedi the padavann
1

votes
0

answer
63

Views

How to fix this Chrome rendering glitch with column-width + CSS toggle switches?

I made these nice toggle switches, but they're getting glitched when my columns wrapped. Is there some way to fix this or avoid the bug? .multicol-list { list-style: none; margin: 0; padding: 3px; column-width: 150px; column-gap: 10px; } .toggle-switch_switch--14qeA { position: relative; d...
mpen
1

votes
0

answer
90

Views

column-count and Angular Material: button is not clickable in Chrome

I'm using Angular v5.1.3 + Angular Material v5.0.3 for a website. I have a problem with a button not being clickable in Chrome(v63.0.3239.84), while it works fine in Firefox(v57.0.3). Here is a demo. The buttons Test 1, and Test 2 should be clickable. The way I see it is as follow: when using nested...
Moi
1

votes
1

answer
201

Views

How to overlay jQuery UI dialog over entire page?

I'm trying to make a jQuery modal dialog box that covers the entire webpage. It works fine on some sites but not on others. The problems I'm having are that the dialog box is underneath webpage content, like the google search bar and button, and the modal overlay does not cover the entire page. Here...
Carsen
1

votes
0

answer
105

Views

Why chrome.tabs.executeScript matchAboutBlank is not valid for top-level about:frames?

I am developing a Chrome plugin which creates a new window based on the content of the current page, and then another plugin which needs to insert some code to the about:blank page created previously (using background.js, and not content_scripts, as in this case: Chrome extension permission for 'abo...
David Portabella
1

votes
2

answer
39

Views

Can't access to the page content

I have a problem while trying to get an element by name 'login'. It should return 1 if there is at least one HTML input with this name. But it doesn't work! Chrome console doesn't write any errors. smart.js chrome.webNavigation.onCompleted.addListener(function(){ console.log('And finally ' + documen...
Jerey
1

votes
1

answer
48

Views

Force Chromium to use different cookie jars per page

I'm working with Chromium in headless mode, via the Dev Tools protocol and I need to implement a system where every page has a totally separate cookie jar that it will use for both JavaScript and HTTP requests. As far as I can see, this is not supported natively by the browser, and making a hack for...
GregRos
1

votes
2

answer
820

Views

Webusb to scan documents

Anybody had successfully configured webusb to scan a document ? I am able to connect to the usb scanner but wasn't able to find any documentation on commands to scan documents : $lsusb -v Bus 001 Device 007: ID 1083:163e Canon Electronics, Inc. Device Descriptor: bLength 18 bDescrip...
Hatem
1

votes
1

answer
628

Views

Publish Unlisted Chrome Extension via Chrome webstore Api

I have completely read the following documentation: Publish API Doc Looks like there is only 2 options, Publishing an item to the public and Publishing an item to trusted users. No mention of unlisted extension publish. Can we some how publish an unlisted chrome extension via the webstore api?
Anoosh
1

votes
0

answer
29

Views

Session Sharing on Firefox

I'm using this code on Firefox 57 Web Extension to create a new tab in Firefox 57 let mirror = browser.windows.create({ url: profiler.url + '?profiler=' + i, state: 'fullscreen' }); mirror.then((docking) => { let updateInfo = { left : x, width : screen.width, height : screen.height }; browser.w...
Yohanes AI
10

votes
2

answer
4k

Views

Grammar in Google Web Speech API

Can I improve google speech API recognition by give him a words list (in my case the request of user is very predictable) to make recognition more accurate? Thanks.
Rnd_d
1

votes
0

answer
539

Views

-webkit-scrollbar works differently when using mobile simulator of chrome (when scrollbar is on html element)

I tried to customize the styles of scrollbar on chrome with -webkit-scrollbar. Here is my css snippet: ::-webkit-scrollbar { width: 12px; } ::-webkit-scrollbar-track { background-color: red; } ::-webkit-scrollbar-thumb { background-color: blue; } Basically it makes scrollbar to be 12px wide, set tra...
user2061779
1

votes
0

answer
505

Views

chrome.tabs.onUpdated.addListener(namedFunction) - function scope

I am developing a browser extension using Chrome API. For this specific task, I need to add a listener for the chrome.tabs.onUpdated event, using a named function, since I need to remove it on completion. The issue appears when I set this listener inside other event listeners - more concretely, for...
user1298923
1

votes
0

answer
32

Views

JS form action link is used instead of link that is actually clicked

I just came accross the below issue in a project of mine: user clicks a button a js function is called to check the input of the form field and if accepted will submit the form to save_to_db.php in an iframe. in the iframe, save_to_db.php will save the form details to the db and calls another js fu...
BarsV
1

votes
0

answer
91

Views

How to connect server to google chrome extension

I know that it is possible to connect chrome extension with a server, but is it possible to connect the server with chrome extension? I need to push some data to chrome extension from server and than push it back to server. Is it possible? And if yes, how? Thanks a lot
1

votes
0

answer
560

Views

Open link with http authentication in new tab

I am currently coding a small chrome extension, which is supposed to trigger an action once a link with href attribute is clicked. This action does the following thing: First it gets the data of the href. Then it checks if the href is leading to a specific domain. After that, split the URL and inse...
NullDev
1

votes
0

answer
137

Views

Vue Firebase Chrome authentication

I have an app that I created from a great tutorial (https://medium.com/@anas.mammeri/vue-2-firebase-how-to-build-a-vue-app-with-firebase-authentication-system-in-15-minutes-fdce6f289c3c) It was working for me yesterday but today I'm getting an error when I try to authenticate with Firebase. The err...
user1079785
1

votes
0

answer
73

Views

Shiny Server on AWS not viewable on Chrome behind firewall

Hello Shiny / sysadmin / AWS gurus: I have Shiny Server running on an Ubuntu AWS instance here: http://54.163.27.74:3838/ I followed this R-bloggers post to get it set up, with custom TCP rules for 3838 (Shiny) and 8787 (RStudio). It was not viewable when I tried to access at work, where some firewa...
Dan Flynn

View additional questions