Chrome browser crashing in pip

I’m developing a web automation solution using the Chrome browser. While the application functions correctly in the development environment without any crashes, we’re experiencing issues in the production environment when running through PIP.

Specifically:

The Chrome browser is crashing in production without any visible error notifications.
I've identified crash occurrences in the logs, but there are no error pop-ups for the user.

Given this situation, I’m seeking advice on two main points:

How to effectively handle unexpected Chrome crashes in a production environment.
Implementing a reliable method to automatically restart Chrome after a crash occurs.

Any insights or best practices for improving the stability and resilience of Chrome-based web automation in production would be greatly appreciated.

@MN_Sai

Welcome to the community

Is it an unattended?

If yes may I know why is it using pip?

In any case did you happen to check event viewer logs..is there a kill somewhere in the process is effecting it?

Cheers

HI Anil,

Thanks for Response. Attended ,To run the bot in Background while working on other tasks we used PIP. We are not killing Process.

@MN_Sai

killing the process in main session might effect pip session as well..was there anything liek that?

also what was the crash log?

cheers

1 Like