1
0
mirror of https://gitee.com/g1879/DrissionPage.git synced 2024-12-10 04:00:23 +08:00

修复input_txt()问题

This commit is contained in:
g1879 2021-11-28 23:42:59 +08:00
parent 74b7185563
commit 22416cd86e

@ -363,7 +363,7 @@ class DriverElement(DrissionElement):
from time import 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:
self.clear()