如何使用Selenium WebDriver(又名Selenium 2)在现有Firefox浏览器中打开新选项卡?
如何在 Selenium WebDriver 中使用 java 单击锚标记内具有属性 role="button" 的元素?前任:
<a href="#" class="xyz" role="button">
<span class="ABC">close</span>
</a>
Run Code Online (Sandbox Code Playgroud)
我只想单击此关闭按钮,但不使用跨度文本。
获取(selenium webdriver)中提到ID的DIV标记的background-image CSS属性可以是什么?
例如:(div id ="abc",style ="width:538px!important; height:242px!important; background-image:url(http://test.com/images/abc.png); position:relative; background-position:0%0%;")
我想用url找到这个图像:( http://test.com/images/abc.png)