I called a function in a Flask route that uses a selenium crawler
But each time it is executed into a function
s = Service(ChromeDriverManager().install())
It won’t go any further
There may be an issue with initialization
Because it’s okay when it’s first executed
Is there any way to deal with it?
New contributor
童柏祐 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.