def clear_txtbox(txtbox: WebElement):
    """
    To clear the textbox before entering any values
    """
    txtbox.click()
    txtbox.clear()
    return txtbox
예제 #2
0
 def tap_article(cls, article: WebElement):
     article.click()
     return ArticlePage()
예제 #3
0
 def goto_personal_detail_page(self, element: WebElement):
     element.click()
     return PersonalDetailPage(self.driver)
예제 #4
0
 def click(self, element: WebElement):
     return element.click()
예제 #5
0
def clear_txtbox(txtbox: WebElement):
    txtbox.click()
    txtbox.clear()
    return txtbox