[Selenium]在Chrome的开发者工具中验证检查XPathCSSselectors.pdfVIP

  • 3
  • 0
  • 约1.41千字
  • 约 1页
  • 2023-07-12 发布于上海
  • 举报

[Selenium]在Chrome的开发者工具中验证检查XPathCSSselectors.pdf

[Selenium]在Chrome的开发者⼯具中验证检查 XPathCSSselectors Evaluate and validate XPath/CSS selectors in Chrome Developer Tools Method 1 : From Elements panel Use the search function inside Elements panel to evaluate XPath/CSS selectors and highlight matching nodes in the DOM. 1.Press F12 to open up Chrome DevTools. 2.Elements panel should be opened by default. 3.Press Ctrl + F to enable DOM searching in the panel. 4.Type in XPath or CSS selectors to evaluate. 5.If there are matched elements, they will be highlighted in DOM. However, if

文档评论(0)

1亿VIP精品文档

相关文档