Search code examples
javaseleniumxpathautomationwebdriver

Where is right-click menu in Chrome v99?


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?


Solution

  • 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?