# Path: AXUI/logger/logger.py
# LOGGER = logging.getLogger(logger_config.logger_name)
# 
# Path: AXUI/exceptions.py
# class DriverException(AXUI_BaseException):
#     pass


import re
import inspect
    import selenium.webdriver as webdriver
from AXUI.logger import LOGGER
from AXUI.exceptions import DriverException
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from selenium.webdriver.common.keys import Keys
from . import Translater
        "IE" : webdriver.Ie,
        "OPERA" : webdriver.Opera,
        "SAFARI" : webdriver.Safari,
        "PHANTOMJS" : webdriver.PhantomJS,
        "ANDROID" : webdriver.Android,
        "REMOTE" : webdriver.Remote,
    }

    def __init__(self):
        self.webdriver = None

    @property
    def selenium_element(self):
        return self.webdriver

    def start(self, **kwargs):
        '''
        get root ready
        like get root element in windows UIA, get browser to target website

        must have a "browser_name" argument in kwargs to indicate which browser to use
        other kwargs are same as normal selenium webdrivers
        '''
        if not "browser_name" in kwargs:
            LOGGER.error("Browser name not specified")
            raise DriverException("Browser name not specified")

        browser_name = kwargs["browser_name"]
        if not browser_name.upper() in self.support_browsers:
            LOGGER.error("Unsupported browser name: %s" , browser_name)

# Path: AXUI/logger/logger.py
# LOGGER = logging.getLogger(logger_config.logger_name)
# 
# Path: AXUI/exceptions.py
# class DriverException(AXUI_BaseException):
#     pass


# Path: AXUI/driver/selenium_driver/UIElement.py
import re
import inspect
    import selenium.webdriver as webdriver
from AXUI.logger import LOGGER
from AXUI.exceptions import DriverException
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from selenium.webdriver.common.keys import Keys
from . import Translater

        "IE" : webdriver.Ie,
        "OPERA" : webdriver.Opera,
        "SAFARI" : webdriver.Safari,
        "PHANTOMJS" : webdriver.PhantomJS,
        "ANDROID" : webdriver.Android,
        "REMOTE" : webdriver.Remote,
    }

    def __init__(self):
        self.webdriver = None

    @property
    def selenium_element(self):
        return self.webdriver

    def start(self, **kwargs):
        '''
        get root ready
        like get root element in windows UIA, get browser to target website

        must have a "browser_name" argument in kwargs to indicate which browser to use
        other kwargs are same as normal selenium webdrivers
        '''
        if not "browser_name" in kwargs:
            LOGGER.error("Browser name not specified")
            raise DriverException("Browser name not specified")

        browser_name = kwargs["browser_name"]
        if not browser_name.upper() in self.support_browsers:
            LOGGER.error("Unsupported browser name: %s" , browser_name)

            raise DriverException("Unsupported browser name: %s" % browser_name)