修复d模式元素获取子元素失败的bug

This commit is contained in:
g1879 2020-12-11 16:05:30 +08:00
parent 6adb05a24c
commit e7b88c5619

View File

@ -586,6 +586,7 @@ def execute_driver_find(page_or_ele,
if timeout and timeout != page.timeout:
wait = WebDriverWait(driver, timeout=timeout)
else:
page.wait._driver = driver
wait = page.wait
if loc[0] == 'xpath':