You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a bot in puppeteer, and for every user who is online in my application I want to have a puppeteer open for him (there will be a maximum of 3 users logged into my application, no more than that), and when the user makes a request, my application go in the puppeteer that is associated with my user and execute some method.
How do I instantiate a class from my puppeteer and keep it in memory and call it through an identifier tied to my user?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello guys!
I'm creating a bot in puppeteer, and for every user who is online in my application I want to have a puppeteer open for him (there will be a maximum of 3 users logged into my application, no more than that), and when the user makes a request, my application go in the puppeteer that is associated with my user and execute some method.
How do I instantiate a class from my puppeteer and keep it in memory and call it through an identifier tied to my user?
Beta Was this translation helpful? Give feedback.
All reactions