Skip to content

Noob troubleshooting sb.click(selector) #2817

Answered by mdmintz
davidjivan asked this question in Q&A
Discussion options

You must be logged in to vote

If it's an alert, use sb.accept_alert(). Otherwise, you either have an incorrect selector (use a valid one), or the button is in an iframe (in which case, switch into the iframe first).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davidjivan
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants