1

Tried to find xPath of an element in the latest Chrome (v99). It looks like the right-click menu in Chrome's "inspect" pane is not available. How does one find the xPath of elements for Selenium automation?

S P
  • 101
  • 2
  • 13

1 Answers1

1

Chrome's Inspect menu item is still available after the right-click.

Chrome_Inspect

However, latest version is Version 100.x which you need to upgrade to.

Chrome100

Having said that, some websites may disable the right-click for security or some other reasons. In those cases you have use the to identify the desired elements.

You can find a relevant detailed discussion in How to inspect element for Selenium v3.6 as FireBug is not an option any more for FF 56?

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352