2

I tried to locate an element by xpath, however, I get a syntax error:

"SyntaxError: Failed to execute 'evaluate' on 'Document': The string '//div[@aria-label data-tid = 'team-4MA 202021']' is not a valid XPath expression."

This is the element I'm trying to locate.

I tried to get find the element by class but unfortunately, there are more than 1 element with the same class.

1
  • can you share a link to the actual page and also your selenium code? Commented Nov 30, 2020 at 7:21

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.