467 questions
64
votes
1
answer
65k
views
Official locator strategies for the webdriver
In the official W3C webdriver documentation, it's clearly stated that the location strategies are:
State Keyword
-----------------------------------------------
CSS selector ...
66
votes
3
answers
64k
views
How to change chrome packaged app id Or Why do we need key field in the manifest.json?
I'm developing packaged app for chrome store using one-time chrome wallet payments. For my app I need to check during the runtime if user bought the app or not to decide should it be demo ...
207
votes
8
answers
348k
views
Failed to load resource: net::ERR_INSECURE_RESPONSE
IS there a way to trick the server so I don't get this error:
Content was blocked because it was not signed by a valid security certificate.
I'm pulling an iframe of an html website into another ...
15
votes
9
answers
27k
views
How do I enable geolocation support in chromedriver?
I need to test a JS geolocation functionality with Selenium and I am using chromedriver to run the test on the latest Chrome.
The problem is now that Chrome prompts me to enable Geolocation during ...
59
votes
4
answers
26k
views
How to access Chrome spell-check suggestions in JavaScript
How does one detect a spelling mistake inside a textarea in JavaScript? Is there an event associated with this? How do I access Chrome's spell-check suggestions for a misspelled word?
9
votes
6
answers
19k
views
Chromium Embedded Framework MP3 support
I've downloaded Chromium Embedded Framework r306 for Windows and built it. Unfortunately, it shows, that it doesn't support mp3:
<script>
var a = document.createElement("audio");
document.write(...
48
votes
11
answers
84k
views
How to download file with puppeteer using headless: true?
I've been running the following code in order to download a csv file from the website http://niftyindices.com/resources/holiday-calendar:
const puppeteer = require('puppeteer');
(async () => {
...
31
votes
4
answers
62k
views
Android 4.4 giving ERR_CACHE_MISS error in onReceivedError for WebView back
I have a webview in my Layout. By default, a search form is opened in it. On search, a listing section appears below the search form. If any link in the list is clicked, the details page opened. Now I ...
17
votes
9
answers
33k
views
Headless Chrome to print pdf
I am trying to use Headless feature of the Chrome to convert a html to pdf. However, i am not getting output at all. Console doesn't show any error as well. I am running below commands in my windows m/...
38
votes
4
answers
93k
views
Running headless Chrome / Puppeteer with --no-sandbox
Background
I built an application that uses Puppeteer on my localhost. Now that I am trying to deploy it into a debian environment the script that runs Puppeteer is timing out. After researching it I ...
22
votes
2
answers
15k
views
How to use Web Speech API at chromium?
How to use SpeechSynthesisUtterance() and window.speechSynthesis.speak() at chromium browser?
var msg = new SpeechSynthesisUtterance( "Hello I am browser" );
window.speechSynthesis.speak( msg );
...
8
votes
1
answer
13k
views
Adding file://. permission to chrome extension
How can I enable permissions for file:/// using chrome extensions.
In my manifest.json I have tried:
"permissions": [
"file:///*"
]
and
"permissions": [
"file://*"
]
as well as
"permissions": [
...
61
votes
9
answers
93k
views
Running Chromium inside Docker - Gtk: cannot open display: :0
When I try to run chromium inside a docker container I see the following error: Gtk: cannot open display: :0
Dockerfile: (based on https://registry.hub.docker.com/u/jess/chromium/dockerfile)
FROM ...
22
votes
2
answers
14k
views
Chrome bug with colspan and border?
In the example below, there is a border on top of the right cell. It only appears in Chrome, is it a Chrome bug?
HTML / CSS
html,
body {
height: 100%;
}
table {
border-collapse: collapse;
...
17
votes
2
answers
20k
views
Decrypting Chromium cookies
I'm trying to use Chromium cookies in Python, because Chromium encrypts its cookies using AES (with CBC) I need to reverse this.
I can recover the AES key from OS X's Keychain (it's stored in Base 64)...
9
votes
0
answers
2k
views
How to use "segments" mode at SourceBuffer of MediaSource to render same result at Chomium, Chorme and Firefox?
Reference to my original question: How to use Blob URL, MediaSource or other methods to play concatenated Blobs of media fragments?
In lieu of the potential for deprecation of the "sequence" ...
6
votes
2
answers
2k
views
SVG translate seems to behave different in Chrome/Chromium
https://jsfiddle.net/Lpfa9umq/
Code:
<svg>
<symbol>
<circle id="circle1" cx="50" cy="50" r="20" stroke="black" stroke-width="1" />
<circle id="circle2" cx="...
86
votes
3
answers
48k
views
Chrome "Active content with certificate errors"
We recently updated our ZNC server (don't think this matters) with a new certificate to include a Subject Alternative Name (SAN) DNS field. It works now in incognito but my existing session shows the ...
16
votes
4
answers
15k
views
AWS Lambda Container Running Selenium With Headless Chrome Works Locally But Not In AWS Lambda
I am currently developing a Python program which has a segment which uses a headless version of Chrome and Selenium to perform a repetitive process. I am aiming to run the program on Lambda.
The ...
11
votes
1
answer
14k
views
How to checkout and BUILD specific chromium tag/branch without download the FULL source code of all history?
I don't want build master branch. Instead I would like to build a specific tag which the latest stable release as same as my Desktop Chrome.
7
votes
2
answers
4k
views
How to use "system_indicator" in the manisfet of a Chrome Packaged App?
I'm trying to create a Chrome package App with an icon in the system menu bar as explain here : https://docs.google.com/document/d/1QhhfR33Y28Yqnnoa_Sl3fnZK_mKtwt4dZe6kNyJ_MjU/edit ,
The Google ...
3
votes
1
answer
8k
views
Chromium - How to make an actual installer out of mini_installer.exe
After building chromium from source, you can create a "mini installer" for Windows by running
ninja -C out\BuildFolder mini_installer
This works fine and creates a mini_installer.exe in out\...
0
votes
0
answers
72
views
Launch Chromium and Wait Until it is Closed [duplicate]
Question
I want to start the Chromium web browser as process to visit a specific website, then wait until it is closed.
A special situation is that the browser may already be open and running, as ...
31
votes
2
answers
10k
views
Tail Call Optimization implementation in Javascript Engines [duplicate]
As of February 2019 in Chrome Version 71.0.3578.98 on Mac
, the following program throws Uncaught RangeError: Maximum call stack size exceeded error. at a count of 16516.
const a = x => {
...
20
votes
3
answers
10k
views
Is there any way to access certificate information from a Chrome Extension
I'd like to access SSL certificate information from a Google Chrome extension.
I took a look at the APIs here: http://code.google.com/chrome/extensions/api_index.html, but didn't see anything that ...