【发布时间】:2018-08-16 12:32:03
【问题描述】:
我正在尝试自动化网站。我使用 driver,get() 访问该页面并执行了一些操作。接下来我必须导航到该网站中的某个页面并使用 driver.get() 访问这。在执行脚本时,直到该部分,发布它只是停止并且不执行打印语句。最后我得到一个超时异常。我无法弄清楚它失败的地方。
```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:代码中的部分在此之前运行良好的代码表明我使用了直到这里的所有功能并且它们正在工作。也在最后一个驱动程序中。 get() 用户被导航到所需的页面。在此之后脚本会暂停。
【问题讨论】:
标签: python-3.x selenium automation automated-tests