mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修复d模式元素获取子元素失败的bug
This commit is contained in:
parent
6adb05a24c
commit
e7b88c5619
@ -586,6 +586,7 @@ def execute_driver_find(page_or_ele,
|
|||||||
if timeout and timeout != page.timeout:
|
if timeout and timeout != page.timeout:
|
||||||
wait = WebDriverWait(driver, timeout=timeout)
|
wait = WebDriverWait(driver, timeout=timeout)
|
||||||
else:
|
else:
|
||||||
|
page.wait._driver = driver
|
||||||
wait = page.wait
|
wait = page.wait
|
||||||
|
|
||||||
if loc[0] == 'xpath':
|
if loc[0] == 'xpath':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user