def __init__(self, driver, table_name, item_relative_locator, item_class, item_name, table_locator=None): UIComponent.__init__(self, driver, table_name, table_locator) ElementWithLanguage.__init__(self) if not issubclass(item_class, UIComponent): raise TypeError( "{0} is not subtype of UIComponent".format(item_name)) self._item_relative_locator = item_relative_locator self._item_class = item_class self._item_name = item_name
def __init__(self, driver, name): UIComponent.__init__(self, driver, name)
def __init__(self, driver, name, locator=None): UIComponent.__init__(self, driver, name, locator)
def __init__(self, driver, name='checkbox', locator=None): UIComponent.__init__(self, driver, name, locator)
def __init__(self, driver, name='button', locator=None): UIComponent.__init__(self, driver, name, locator)
def __init__(self, driver, name='dropdown', locator=None): UIComponent.__init__(self, driver, name, locator)