mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复input_txt()问题
This commit is contained in:
parent
74b7185563
commit
22416cd86e
@ -363,7 +363,7 @@ class DriverElement(DrissionElement):
|
|||||||
from time import perf_counter
|
from time import perf_counter
|
||||||
|
|
||||||
t1 = perf_counter()
|
t1 = perf_counter()
|
||||||
while self.attr('value') != full_txt and perf_counter() - t1 > self.page.timeout:
|
while self.attr('value') != full_txt and perf_counter() - t1 <= self.page.timeout:
|
||||||
if clear:
|
if clear:
|
||||||
self.clear()
|
self.clear()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user