I would like to launch a Google Chrome browser with language Spanish es using Puppeteer.  I've tried puppeteer.launch(args:['--lang=es',...],...) but it didn't work.  I've tried passing the environment variable LANGUAGE=es mocha p...
I'm running this command  chrome --headless --disable-gpu --enable-logging --repl https://www.chromestatus.com/   then I get a cmd filled with the error  {"result":{"type":"undefined"}}   my os is windows 8.1 chrome versio...
I want to take a screenshot of a page, after I inject some data into it:  (async () => {   const browser = await puppeteer.launch({dumpio: true});   const page = await browser.newPage();    await page.evaluate((data) => {     console.log("-...
I am trying to use the export keyword in my test.js file. The test.js file is pretty simple.  const foo = Math.PI; export { foo };   And I am using karma to do the testing. My Chrome version is greater than 61 as seen in the log below. The export syn...
When taking screenshots with Puppeteer I notice that some aren't taken because a script on the website takes to long to load which triggers the goTo timeout (after 60 secs). I can't increase the timeout any more and even if I did some scripts...
For example the document.querySelectorAll works with CSS selectors, but how can I use XPath expressions instead?...
I am trying to generate pdfs from my website pages.  To do so, I have an express server that runs Puppeteer and does a couple thing: - Take the width of the browser when the page was viewed by the user. - Resize the chrome headless browser. - Calcula...
I am using puppeteer to run headless chrome. Once I login I want to keep the session cookies for future use. Is there a way to save and load session cookies in puppeteer?  Looking for something like:  (async () => {     console.log('start ->...
I have a JS-path of object that I am interested in. This path contains a lot of shadow-roots.  I am trying to get element content with python google-headless API. Due to shadow-roots I cant use page.querySelector.  So, probably I have to execute JS-p...
Image/Box :   gfy94/wercker-chromium-node:v0.0.2  Docker-Selenium Image Version : node-chrome Docker Version: 17.12.1-ce, OS:  Ubuntu 16.04  Hi, I'm trying to run npm E2E test in docker box (Ubuntu 16.04) with node version 6.9.3. It is running he...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.