Created
November 1, 2020 11:22
-
-
Save seleniumgists/28500842d7aab3d75d25744d452fd431 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
This file contains hidden or 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
url = '<http://sahitest.com/demo/clicks.htm>' | |
driver.get(url) | |
buttonQuery = 'body > form:nth-child(1) > input:nth-child(10)' | |
button = driver.find_element(By.CSS_SELECTOR, buttonQuery) | |
action.click(button).perform() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment