Пример #1
0
 def __init__(self):
     BaseComponent.__init__(
         self, By.CSS_SELECTOR,
         "#root div.notifications-wrapper div.notification-message")
 def __init__(self):
     BaseComponent.__init__(self, By.ID, "bots-list-dropdown")
 def __init__(self):
     BaseComponent.__init__(
         self, By.XPATH,
         f"//div[contains(@class,'knowledge-styles') and contains(@class,'accordion')]"
     )
     self.__manual_faq_section = SectionWithGroupFAQ('Manual Q&A')
 def __init__(self):
     BaseComponent.__init__(self, By.XPATH,
                            "//div[contains(@class,'loader')]")
Пример #5
0
 def __init__(self, section_name):
     BaseComponent.__init__(self, By.XPATH,
                            f"//div[contains(@class,'knowledge-styles') and contains(@class,'accordion')"
                            f" and .//*[normalize-space(text())='{section_name}']]")
Пример #6
0
 def __init__(self):
     BaseComponent.__init__(
         self, By.XPATH, "//form[contains(@class,'form knowledge-styles')]")
Пример #7
0
 def __init__(self):
     BaseComponent.__init__(self, By.ID, "sample_app-chatbox")