隐式等待与显式等待

等待的三种方式

 time.sleep(5)

self.driver.implicitly_wait(5)默认轮询查找(0.5秒)元素是否出现,确定作用于全局

 

猜你喜欢

转载自www.cnblogs.com/zwldyt/p/13170043.html