SeleniumBasic icon indicating copy to clipboard operation
SeleniumBasic copied to clipboard

Vba Selenium Start "Chrome" frequently hang

Open Ahmad9292 opened this issue 5 years ago • 5 comments

Hi,

Good Day!

I have 4 excel file where running instance for 24 hour to check on the website by using selenium.chrome (2.0.9). The excel frequently hang in backround where it hang on Start "Chrome".

I have try other way as well driver.get (url) but issue still persists.

Upon checked, once the driver start, sometime i can see chromedriver running on the task manager while chrome.exe not (usually should come out in the task manager as well). I have try disable plugins, unfortunately still the same issue occured.

My question, is there anyway to setup timeout or error handler for start chrome? ie: when start"chrome" taking longer time, hang or even chromedriver running without open chrome.exe?

Looking forward to your advise.

Thank you.

Regards Ahmad

Ahmad9292 avatar Jul 31 '19 17:07 Ahmad9292

Have you updated chromedriver.exe to match version of Chrome?

mogulman52 avatar Aug 05 '19 16:08 mogulman52

Hi mogulman52, thanks for your advice. i have checked them seems my chromedriver ver was 75.0.3770.90 while chrome.exe 76.0.3809.100. I just change chromedriver to ver 76.0.3809.68. Hopefully gonna solve this issue otherwise i guess maybe the issue with the CPU usage.

Ahmad9292 avatar Aug 08 '19 07:08 Ahmad9292

Seems again same issue occurred

Ahmad9292 avatar Aug 08 '19 08:08 Ahmad9292

i have same problem only with one file last friday it was works perfectly, today monday 12/08/2019 there is a problem, driver.get doesn´t work properly

Jarod9856 avatar Aug 12 '19 21:08 Jarod9856

hello, I also have the same problem. Totally random, the GET command blocks the process. Has anyone been able to understand or contain the problem?

Thanks

ilrisa avatar Mar 14 '22 13:03 ilrisa