public void clickOnText(String text, int match, boolean scroll)Clicks a View or WebElement displaying the specified text。Parameters:text - the text to click。
The parameter will be interpreted as a regular expressionmatch - if multiple objects match the text, this determines which one to clickscroll - true if scrolling should be performedclickLongOnText
public void clickLongOnText(String text)Long clicks a View or WebElement displaying the specified text。 Will automatically scroll when needed。Parameters:text - the text to click。 The parameter will be interpreted as a regular expressionclickLongOnText
public void clickLongOnText(String text, int match)Long clicks a View or WebElement displaying the specified text。 Will automatically scroll when needed。
Parameters:text - the text to click。 The parameter will be interpreted as a regular expressionmatch - if multiple objects match the text, this determines which one to clickclickLongOnText
public void clickLongOnText(String text, int match, boolean scroll)Long clicks a View or WebElement displaying the specified text。Parameters:text - the text to click。 The parameter will be interpreted as a regular expressionmatch - if multiple objects match the text, this determines which one to clickscroll - true if scrolling should be performedclickLongOnText
public void clickLongOnText(String text, int match, int time)Long clicks a View or WebElement displaying the specified text。
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-37529-18.html