Replies: 2 comments 4 replies
-
Docker images proved to be the best way to run puppeteer in the cloud. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I've created a docker image to run a proxy server that provide WebSocket endpoint to use Chromium headless browser from your application. You can run it on your local environment or server such as render.com, Azure VMs, and so on even though your application is running on Azure App Service that does not allow apps to run headless browsers. https://github.com/sashiyama/browserless var options = new ConnectOptions
{
BrowserWSEndpoint = "ws://localhost/chromium?token=xxx"
};
return await Puppeteer.ConnectAsync(options); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Is it possible to run this on azure AppService (Windows)?
I'm getting the following error with no success:
An error occurred trying to start process 'C:\home\site\wwwroot\Chrome\Win64-121.0.6167.85\chrome-win64\chrome.exe' with working directory 'C:\home\site\wwwroot'. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. line: 208
Thanks!
AA
Beta Was this translation helpful? Give feedback.
All reactions