Selenium webdriver is not able to pull up the chrome dev tools. From what it looks like puppeteer could do this, but will it give me a way to save the interactive timeline report? Can puppeteer be run in a headfull mode? in an incognito tab? I saw the developers page but no specific examples

  • I don't have a full answer, so just adding a comment. I've used this to run puppeteer headfull. To run puppeteer in headfull way, set the option "puppeteer.launch({headless: false})". This is in the API docs: pptr.dev/… The docs also show how to run in incognito. – Lee Jensen Feb 4 '20 at 20:56
  • Is there a reason behind this that prevents you to use performance testing tools like jmeter instead? – Moro Feb 5 '20 at 6:20
  • @Moro Yes, I am looking at interactions from the time I click on the Mouse button for a login until the home page is rendered fully. Performance tab on Chrome Dev tools after recording has vertical green bars to show you mouse up mouse down etc, blue horizontal bars to show when the apis got started and ended, screenshots to confirm page has rendered etc. Can Jmeter do something like this? If so please let me know if there is a listener for this – beegee Assem Feb 5 '20 at 16:20
  • Any performance testing tool can measure page loading times and generate timelines, jmeter was just an example. I do not think Jmeter allows you to capture mouse events, however it can take Selenium scripts as input and in them you can code some mouse interactions. Again, I do not understand why would you need mouse interaction for performance testing, when you can simply record the http requests and use them in your script. – Moro Feb 6 '20 at 9:15
  • @moro We would be doing user responsiveness testing from the UI perspective – beegee Assem Feb 6 '20 at 9:46

Yes, Puppeteer allows creation of "incognito" browser contexts with browser.createIncognitoBrowserContext() method. "Incognito" browser contexts don't write any browsing data to disk. and these sessions are known as Browser Contexts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.