publicReturns an ArrayList of Views matching the specified class located under the specified parent。Parameters:classToFilterBy - return all instances of this class。 Examples are: Button。class or ListView。ArrayList getCurrentViews(Class classToFilterBy, android.view.View parent)
classparent - the parent View for where to start the traversalReturns:an ArrayList of Views matching the specified Class located under the specified parentgetCurrentViews
publicReturns an ArrayList of Views matching the specified class located under the specified parent。Parameters:classToFilterBy - return all instances of this class。 Examples are: Button。class or ListView。classincludeSubclasses - include instances of subclasses in the ArrayList that will be returnedparent - the parent View for where to start the traversalReturns:an ArrayList of Views matching the specified Class located under the specified parentgetWebElementsArrayList getCurrentViews(Class classToFilterBy, boolean includeSubclasses, android.view.View parent)
public ArrayListReturns an ArrayList of all the WebElements displayed in the active WebView。getWebElements()
Returns:an ArrayList of all the WebElement objects currently displayed in the active WebViewgetWebElements
public ArrayListReturns an ArrayList of all the WebElements displayed in the active WebView matching the specified By object。Parameters:by - the By object。 Examples are: By。id("id") and By。name("name")Returns:an ArrayList of all the WebElement objects displayed in the active WebViewgetCurrentWebElementsgetWebElements(By by)
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-33.html
敢于消灭一切来犯之敌
奶粉是干的不