-1

error while locating svg in selenium using python

error: selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: /html/body/div1/section/div/div1/div/div[3]/div/div[2]/a/svg/path

inspect element

1
  • Could you provide more information? Like the code that caused this? Commented Jul 27, 2020 at 13:38

1 Answer 1

0

You have to identify svg using the name attribute as shown below

/html/body/div1/section/div/div1/div/div[3]/div/div[2]/a/*[name()='svg']/path
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.