【发布时间】:2018-02-19 23:09:32
【问题描述】:
我正在尝试使用 java 和 selenium 从网站上抓取一些信息。但是,由于 shadow-root 我无法访问任何 Web 元素。当我尝试获取 html 时,它返回空数组。有什么方法可以访问 shadow-root 中的信息还是不可能? html structure of the website
【问题讨论】:
-
您能否使用基于文本的格式化相关 HTML、您的代码试验和错误堆栈跟踪来更新问题?
标签: java selenium web-crawler shadow-dom