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 trying to load CapSolver's extension on my browser instances generated with Puppeteer Cluster, but it seems that the extension only works on the about:blank instance (the instance that Puppeteer Cluster creates when you use CONCURRENCY_CONTEXT) and not on the actual browsing instances.
const{ Cluster }=require('puppeteer-cluster');(async()=>{constpathToExtension=require('path').join(__dirname,'capsolver');constcluster=awaitCluster.launch({concurrency: Cluster.CONCURRENCY_CONTEXT,maxConcurrency: 2,puppeteerOptions: {headless: false,args: [`--disable-extensions-except=${pathToExtension}`,`--load-extension=${pathToExtension}`,],},});awaitcluster.task(async({ page,data: url})=>{awaitpage.goto(url);awaitdelay(60000);});cluster.queue('http://www.google.com/');cluster.queue('http://www.wikipedia.org/');// many more pagesawaitcluster.idle();awaitcluster.close();})();functiondelay(time){returnnewPromise((resolve)=>setTimeout(resolve,time));}
The text was updated successfully, but these errors were encountered:
I'm trying to load CapSolver's extension on my browser instances generated with Puppeteer Cluster, but it seems that the extension only works on the about:blank instance (the instance that Puppeteer Cluster creates when you use CONCURRENCY_CONTEXT) and not on the actual browsing instances.
The text was updated successfully, but these errors were encountered: