0
我需要watij点击sizeDropdown
代码的位置 请帮我去做这个在java中。热点使用watij点击元素(爪哇)
的HTML代码:
<div class="size-quantity">
<span class="sizeDropdown">
</span>
</div>
我需要watij点击sizeDropdown
代码的位置 请帮我去做这个在java中。热点使用watij点击元素(爪哇)
的HTML代码:
<div class="size-quantity">
<span class="sizeDropdown">
</span>
</div>
public static void main(String[] args) {
WebSpec spec = new WebSpec().ie();
// http://jsfiddle.net/rnFm8/
spec.open("http://fiddle.jshell.net/rnFm8/show/");
// find <span> by innerText = "SPAN WAITING FOR CLICK"
// spec.find.span().with("SPAN WAITING FOR CLICK").click();
// or by CSS class using JQuery selector
spec.jquery(".sizeDropdown").click();
}