【发布时间】:2017-12-25 04:29:52
【问题描述】:
我在这个网站上,我正在尝试使用 selenium webDriver 点击批量搜索: https://metlin.scripps.edu/landing_page.php?pgcontent=mainPage
链接的 HTML 代码是:
<a href="landing_page.php?pgcontent=batch_search" style="color:white; font-weight:bold; font-size:13px">Batch Search </a >
我尝试的解决方案是:
driver3.findElement(By.linkText("Batch Search")).click();
但是,这似乎不起作用。 有什么想法吗?
【问题讨论】: