You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selenium.common.exceptions.WebDriverException: Message: UnknownError: Cannot release a button when no button is pressed.'UnknownError: Cannot release a button when no button is pressed.' when calling method: [wdIMouse::up]
报错,我确定我的按钮的 id 是唯一的。
action = ActionChains(driver)
action.click_and_hold(button).perform()
distance = 250
track = get_track(distance)
for i in track:
action.move_by_offset(xoffset=i, yoffset=0).perform()
action.release(button).perform()
time.sleep(0.5)
The text was updated successfully, but these errors were encountered:
selenium.common.exceptions.WebDriverException: Message: UnknownError: Cannot release a button when no button is pressed.'UnknownError: Cannot release a button when no button is pressed.' when calling method: [wdIMouse::up]
报错,我确定我的按钮的 id 是唯一的。
The text was updated successfully, but these errors were encountered: