Skip to content

Why is sbase is complaining about this selector? #1188

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

You must be logged in to vote

When you call a SeleniumBase method that requires a Javascript call, SeleniumBase needs to first convert any XPath selector to a CSS Selector in order for it to work, but for a complex XPath selector like the one you have above, there might not be a simple conversion that's possible. For that situation, you should try using a CSS Selector instead, or use an XPath selector that can be easily converted to a CSS Selector.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@maburrub
Comment options

@mdmintz
Comment options

Answer selected by mdmintz
Comment options

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

Comment options

You must be logged in to vote
4 replies
@mdmintz
Comment options

@maburrub
Comment options

@mdmintz
Comment options

@maburrub
Comment options

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