コード例 #1
0
 def get_address_second_field(self):
     locator = Locator(by=By.ID, value='address2')
     return BaseElement(self.driver, locator=locator)
コード例 #2
0
 def get_firstName_field(self):
     locator = Locator(by=By.ID, value='firstname')
     return BaseElement(self.driver, locator=locator)
コード例 #3
0
 def get_last_name_field(self):
     locator = Locator(by=By.ID, value='email')
     return BaseElement(self.driver, locator=locator)
コード例 #4
0
 def dropdown_birth_month(self):
     locator = Locator(By.ID, value='months')
     return BaseElement(self.driver, locator=locator)
コード例 #5
0
 def dropdown_birth_year(self):
     locator = Locator(By.ID, value='years')
     return BaseElement(self.driver, locator=locator)
コード例 #6
0
 def get_client_passwd(self):
     locator = Locator(by=By.ID, value='passwd')
     return BaseElement(self.driver, locator=locator)
コード例 #7
0
 def get_client_email(self):
     locator = Locator(by=By.ID, value='email')
     return BaseElement(self.driver, locator=locator)
コード例 #8
0
 def get_client_lastName(self):
     locator = Locator(by=By.ID, value='customer_lastname')
     return BaseElement(self.driver, locator=locator)
コード例 #9
0
 def get_client_title_mrs(self):
     locator = Locator(by=By.ID, value='uniform-id_gender2')
     return BaseElement(self.driver, locator=locator)
コード例 #10
0
 def postalcode_is_required(self):
     locator = Locator(by=By.XPATH,
                       value='//*[@id="center_column"]/div/ol/li')
     return BaseElement(self.driver, locator=locator)