Closed petschephp closed 3 months ago
Describe the bug When I try to run the newPage() method, I receive an error
newPage()
Call to a member function newPage() on null
Reproducible example
$puppeteer = new Puppeteer; $browser = $puppeteer->launch(); $page = $browser->newPage(); $page->goto('https://example.com', ['waitUntil' => 'domcontentloaded']);
Hi! I suggest to check logs for additional errors. Probably there are issues with installation of puppeteer, or npm packages.
Describe the bug When I try to run the
newPage()
method, I receive an errorCall to a member function newPage() on null
Reproducible example