change
parent
d1589f6062
commit
624426b6cf
|
@ -19,7 +19,6 @@ def select(driver):
|
||||||
actions.move_to_element(text_element)
|
actions.move_to_element(text_element)
|
||||||
|
|
||||||
# 模拟鼠标按下并拖动以选择文本
|
# 模拟鼠标按下并拖动以选择文本
|
||||||
# 假设我们想要选择从第10个字符开始的5个字符
|
|
||||||
actions.click()
|
actions.click()
|
||||||
actions.perform()
|
actions.perform()
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
Loading…
Reference in New Issue