I am trying to automate a website.I used driver,get() to access the page and did a couple of actions.Next I had to navigate to a certain page in that website and used driver.get() to access this. On executing the script works till that part,post this it simply stops and does not event do a print statment.At the end I get a timeout exception.I am not able to figure out where it is failing.
```code to automate which works well until here```
guid="48bc1201-3929-42af-85cf-50e89b53a800"
#guid=guid
url=baseurl+"#/loan/{"+ str(guid) + "}/summary"
print("qqw" + url)
driver.get(url)
#print functionality also does not happen.Basically the code freezes
print("next execution")
PS: the portion in code code to automate which works well until here indicates that I used all functionalities until here and they were working.Also in the last driver.get() the user is navigated to the required page.After this the script kind of pauses.
I ran into the same issue. In my setup,
driver.get(URL)
fails randomly from time to time.To detect a successful page load or to force a timeout to
driver.get(URL)
, I employ the following solution and it works for me: