puphpeteer icon indicating copy to clipboard operation
puphpeteer copied to clipboard

How to have one instance of puppheteer

Open liamcharmer opened this issue 5 years ago • 1 comments

is it at all possible to have one instance of chrome running that we reference to in puppheteer instead of starting up a new browser in different tasks? (I understand having multiple pages and opening new pages) however i have a task that runs a lot that at the moment, starts a new browser.

liamcharmer avatar Oct 30 '19 18:10 liamcharmer

I created a class that instanciate an instance in the constructor and then reference that in the rest of my class

francoisauclair911 avatar Jan 14 '20 20:01 francoisauclair911