Exemple #1
0
 def password_input(self):
     return HtmlInputElement(
         self.web_element,
         By.xpath(
             './/div[@class="form-group" and label[@for="passwd"]]//input'),
         self)
Exemple #2
0
 def email_input(self):
     return HtmlInputElement(
         self.web_element,
         By.xpath(
             './/div[@class="form-group" and label[@for="email"]]/input'),
         self)
Exemple #3
0
 def search_section(self):
     return SearchSection(self.web_driver, By.xpath('//div[div/div[@class="row"]/div[@id="header_logo"]]'), self)
Exemple #4
0
 def women_button(self):
     return HtmlButtonElement(
         self.web_element,
         By.xpath('.//a[@class="sf-with-ul" and @title="Women"]'), self)
Exemple #5
0
 def t_shirts_button(self):
     return HtmlButtonElement(
         self.web_element,
         By.xpath('.//a[@class="sf-with-ul" and @title="T-shirts"]'), self)
Exemple #6
0
 def dresses_button(self):
     return HtmlButtonElement(
         self.web_element,
         By.xpath('.//a[@class="sf-with-ul" and @title="Dresses"]'), self)