fukuda-lab / atrica

MIT License
4 stars 0 forks source link

atrica and Opera browser #2

Open lukasPan opened 4 years ago

lukasPan commented 4 years ago

Hi, I've tried run your basic example using Opera browser but there is some problem with it. If I run the script then Opera instance starts and following error appears:

ERROR: The process "8648" not found. (node:13696) UnhandledPromiseRejectionWarning: Error: Failed to launch chrome!

In basic example I just changed profile like this: const profile = await atrica.profile({ browser: "chromium", binary: "C:\\Users\\...\\Opera\\launcher.exe" });

So instance of Opera starts but that's it. The website url isn't open and no other steps are realized. Am I doing something wrong?

Thanks

atersolis commented 4 years ago

Hi lukasPan, I'm sorry for the late answer, I just noticed your message. I don't think I can help you as it seems to be a problem with puppeteer. They don't officially support Opera, it just happened to work on Linux when I tried. I never tried on Windows though, so maybe it's just impossible. I hope you found a work-around.