Relative Content

Tag Archive for javascriptpuppeteer

Puppeteer problems

I have taken over old code from someone who is no longer with the company.

Puppeteer problems

I have taken over old code from someone who is no longer with the company.

Puppeteer problems

I have taken over old code from someone who is no longer with the company.

Load local JS file in Puppeteer for testing

I am trying to write unit tests for JS code using Node.js, but the JS code will ultimately run in the browser and in some cases depends on browser-only objects (like document). I’m trying to get Puppeteer to work in this context, but can’t seem to get past the basics.