4.0.5.3微调input()等待可点击

This commit is contained in:
g1879 2024-06-25 10:16:50 +08:00
parent f43a5b4108
commit c5a9c1fbff
2 changed files with 2 additions and 2 deletions

View File

@ -14,4 +14,4 @@ from ._configs.chromium_options import ChromiumOptions
from ._configs.session_options import SessionOptions
__all__ = ['ChromiumPage', 'ChromiumOptions', 'SessionOptions', 'SessionPage', 'WebPage', '__version__']
__version__ = '4.0.5.2'
__version__ = '4.0.5.3'

View File

@ -732,7 +732,7 @@ class ChromiumElement(DrissionElement):
self.run_js('this.dispatchEvent(new Event("change", {bubbles: true}));')
return
self.wait.clickable(timeout=.5)
self.wait.clickable(wait_moved=False, timeout=.5)
if clear and vals not in ('\n', '\ue007'):
self.clear(by_js=False)
else: