Ejemplo n.º 1
0
 def _search_box(self):
     identifier = "id-search-field"
     return driver.wait_for_element(By.ID, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 2
0
 def _go_button(self):
     identifier = "submit"
     return driver.wait_for_element(By.ID, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 3
0
 def _success_stories_button(self):
     identifier = "success-stories"
     return driver.wait_for_element(By.ID, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 4
0
 def _download_latest_link(self):
     identifier = "//div[@class='header-banner ']//div[@class='download-os-source']//a[@class='button']"
     return driver.wait_for_element(By.XPATH, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 5
0
 def _community_button(self):
     identifier = "community"
     return driver.wait_for_element(By.ID, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 6
0
 def _documentation_button(self):
     identifier = "documentation"
     return driver.wait_for_element(By.ID, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 7
0
 def _downloads_button(self):
     identifier = "downloads"
     return driver.wait_for_element(By.ID, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 8
0
 def _community_button(self):
     identifier = "shop-meta "
     return driver.wait_for_element(By.CLASS_NAME, identifier,
                                    ec.visibility_of_element_located)
Ejemplo n.º 9
0
 def _python_button(self):
     identifier = "//ul[@class='menu']//a[@class='current_item selectedcurrent_branch selected']"
     return driver.wait_for_element(By.XPATH, identifier,
                                    ec.visibility_of_element_located)