florentbr / SeleniumBasic

A Selenium based browser automation framework for VB.Net, VBA and VBScript
BSD 3-Clause "New" or "Revised" License
431 stars 197 forks source link

Vba Selenium Start "Chrome" frequently hang #194

Open Ahmad9292 opened 5 years ago

Ahmad9292 commented 5 years ago

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

mogulman52 commented 5 years ago

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

Ahmad9292 commented 5 years ago

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 commented 5 years ago

Seems again same issue occurred

Jarod9856 commented 5 years ago

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

ilrisa commented 2 years ago

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