Chrome 84 Inspect element, find results not highlighted in yellow like before

前端 未结 6 845
耶瑟儿~
耶瑟儿~ 2020-12-01 15:52

As per usual when making automated tests I use "Inspect"(CTRL+SHIFT+I) in Chrome to find element by xpath, id, CSS selector etc. For example:

//li/a         


        
6条回答
  •  忘掉有多难
    2020-12-01 16:42

    I have also faced a similar issue where first matched xpath is not visible in chrome ( mac os mojave).

    As a workaround, I am using the chrome console for exactly locating the xpath element.

    Steps :

    1. Open developer tools
    2. Click on Console tab
    3. type command as : $x("xpath") and press enter.

    Find the below image link for reference.

    dev console

提交回复
热议问题