Created
September 22, 2018 06:56
-
-
Save nyx-rattapoom/1a413ad9f58f198711c61c175890e08d to your computer and use it in GitHub Desktop.
fix MoveTargetOutOfBoundsException bug suggest from stack overflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From | |
ActionChains(browser).move_to_element(element).click().perform() | |
// To | |
browser.execute("arguments[0].scrollIntoView()", element) | |
ActionChains(browser).move_to_element(element).click().perform() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment