File "C:\Python27\lib\site-packages\selenium\webdriver\support\wait.py", line 76, in untilTimeoutException: Message: at FirefoxDriver.prototype.findElementInternal
假设我们有一个代码示例,如下所示,它在5秒后打印hello, world。我想要一种检查Timer线程是否超过5秒的方法,然后终止线程。from time import sleep
sleep(50)# after 5 seconds, "hello, world" will be printed在上面的代码块中,hello将花费超过5秒的时间来处理。
homebrew/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 90, in untilselenium.common.exceptions.TimeoutException: Message:
我真的不太确定该怎么做,我尝试了很多事情