public ArrayListReturns an ArrayList of the currently displayed WebElements in the active WebView。Returns:an ArrayList of the WebElement objects displayed in the active WebViewgetCurrentWebElementsgetCurrentWebElements()
public ArrayListReturns an ArrayList of the currently displayed WebElements in the active WebView matching the specified By object。getCurrentWebElements(By by)
Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")Returns:an ArrayList of the WebElement objects currently displayed in the active WebViewisRadioButtonChecked
public boolean isRadioButtonChecked(int index)Checks if a RadioButton matching the specified index is checked。Parameters:index - of the RadioButton to check。 0 if only one is availableReturns:true if RadioButton is checked and false if it is not checkedisRadioButtonChecked
public boolean isRadioButtonChecked(String text)Checks if a RadioButton displaying the specified text is checked。Parameters:text - the text that the RadioButton displays, specified as a regular expressionReturns:true if a RadioButton matching the specified text is checked and false if it is not checkedisCheckBoxChecked
public boolean isCheckBoxChecked(int index)Checks if a CheckBox matching the specified index is checked。
Parameters:index - of the CheckBox to check。 0 if only one is availableReturns:true if CheckBox is checked and false if it is not checkedisToggleButtonChecked
public boolean isToggleButtonChecked(String text)Checks if a ToggleButton displaying the specified text is checked。Parameters:text - the text that the ToggleButton displays, specified as a regular expressionReturns:true if a ToggleButton matching the specified text is checked and false if it is not checkedisToggleButtonChecked
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-34.html
再一个咱们国家的大型舰艇应该继续建造
其实也就等同于今后任何国家到美国去巡航