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