Esempio n. 1
0
 def set_category(self):
     Waiter.wait_by_xpath(self.driver, self.selectCategory)
     Waiter.wait_clickable_by_xpath(self.driver,
                                    self.selectCategory).click()
     Waiter.wait_by_xpath(self.driver, self.catItem)
     element = Waiter.wait_clickable_by_xpath(self.driver, self.catItem)
     element.click()
Esempio n. 2
0
 def set_city(self):
     Waiter.wait_by_xpath(self.driver, self.selectCity)
     Waiter.wait_clickable_by_xpath(self.driver, self.selectCity).click()
     element = Waiter.wait_clickable_by_xpath(self.driver, self.cityItem)
     element.click()
Esempio n. 3
0
 def set_country(self):
     Waiter.wait_by_xpath(self.driver, self.selectCountry)
     self.driver.find_element_by_xpath(self.selectCountry).click()
     Waiter.wait_by_xpath(self.driver, self.catItem)
     element = Waiter.wait_clickable_by_xpath(self.driver, self.countryItem)
     element.click()
Esempio n. 4
0
 def set_spec(self):
     Waiter.wait_by_xpath(self.driver, self.selectSpec)
     Waiter.wait_clickable_by_xpath(self.driver, self.selectSpec).click()
     element = Waiter.wait_clickable_by_xpath(self.driver, self.specItem)
     element.click()