【发布时间】:2016-05-20 09:05:36
【问题描述】:
我需要将当前 url(在 chrome 中)与特定的 href 链接进行比较。 具体的href链接包含两个url! i need to get the first link (there are two links in href)
<a href="http://pubcontentqa.perion.com/dz2/html/interstitial.html?http://www.bbc.com/news/entertainment_and_arts" target="_blank">
实现应该在 java 中使用 Selenium...
谢谢!!!
【问题讨论】:
-
祝你好运。让我们知道结果如何。
标签: javascript java html selenium webdriver