Elements主要是帮助我们定位网页中的内容

  1. 如图
    09Chrome辅助工具_Inspector -Elements
    09Chrome辅助工具_Inspector -Elements
  2. copy选项
    09Chrome辅助工具_Inspector -Elements
    XPath详细信息
Copy Xpath:可以直接拿到我们想要抽取的信息的XPath	例如://*[@id="maincontent"]
Copy element:可以直接拿出一整段的代码块
  1. Expand all选项:将标签下的页面全部展开
    09Chrome辅助工具_Inspector -Elements
  2. Scroll into view选项
    当我们不知道某个区域对应的页面时,这个选项可以帮助我们快速定位对应的页面。
    09Chrome辅助工具_Inspector -Elements
  3. 还可以在elements中使用Ctrl+F调用搜索窗口,快速定位所需要的内容
    09Chrome辅助工具_Inspector -Elements
    或者在页面中选中需要定位的内容,选择检查也可以
    09Chrome辅助工具_Inspector -Elements

相关文章:

  • 2021-12-05
  • 2022-12-23
  • 2021-12-12
  • 2022-01-21
  • 2022-02-09
  • 2021-08-21
  • 2021-06-29
  • 2021-11-28
猜你喜欢
  • 2021-08-28
  • 2021-10-14
  • 2021-12-15
  • 2021-11-06
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案