I used ChromeDriver for automation web page interaction for a while, however, there is a random issue I'm not able to resolve. I hope to search help in this community.
I am automating one of my scripts on chrome using Selenium Webdriver. There are many images on the page. Below is my configuration
ChromeDriver: I've tried 2.12 - 2.16, all of them has this issue
Chrome: Version 43.0.2357.134 m
JAVA: 1.7.79 X86
Symptom: During automation, when I am on the last page, chrome hangs and in status bar of chrome there are some words saying "waiting for pda-ads.amazon.com"...
I've tried below possible ways.
I had a callable task with timeout of 10 sec. In case it hangs on, throw and exception and continue. However webdriver is still stuck and I can not access information provided on last page.
.pageLoadTimeout(timeOut * 3, TimeUnit.SECONDS)
.setScriptTimeout(timeOut * 3, TimeUnit.SECONDS)