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 want to click on a link in a html page, which contains following snippet:  <p>Die maximale Trefferanzahl von 200 wurde überschritten.   <a href="/rp_web/search.do?doppelt">Verdoppeln Sie hier  Suchergebnislimit.</a> </...
I periodically run into scenarios where I need to use Spatie's Browsershot to capture extremely tall web pages. However, when I do this, the resultant screenshot repeats every 16,384 pixels. (You can see an example of the repetition here: https:/...
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 am trying to print a page with several nvd3 charts to pdf using puppeteer. When using the printing function via the Chrome browser I obtain the following decent output (don't mind the blue borders):    When I try to visit the same page using ch...
I'm using Chrome-Headless to run my Angular 7  unit tests project with Karma  It seems to not be stable as when running dozens of specs , it breaks randomly at any test without completing all tests.  I don't know if it's a probleme of mem...
I am attempting to grab relevant elements on a page and then click each of them in order to capture the redirects in between and the final landing url.   const page = await browser.newPage(); const url = "someurl";  await page.goto(url, {...
I try to figure out how to send Down in puppeteer, I tried with the int code 40 or Down string, but none works.  Is there a proper way ? Can't figure it out after reading ~/node_modules/puppeteer/lib/Input.js  const elementHandle = await page.$(&...
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("-...
Is there any way to use puppeteer to get the redirects with the response body (if there are any) of the request?  I implemented the following code but I can't find a way to get the redirects...  const page = await browser.newPage()  page.on('...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.