Skip to content

Dropdown #1020

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

You must be logged in to vote

Hi @abdurraheemj See an example of self.select_option_by_text(selector, text) in https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_demo_site.py

Also, you may run into cases where the :contains() selector would come in useful. See https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_contains_selector.py for an example of that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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