Example #1
0
    def __init__(self, driver=None, suppress_driver=False):

        if not suppress_driver:  # don't build a driver if not requested
            if driver is None:
                self.driver = CommonFuncs.just_get_driver()
            else:
                self.driver = driver
            pass
Example #2
0
    def __init__(self, driver=None):

        if driver is None:
            self.driver = CommonFuncs.just_get_driver()
        else:
            self.driver = driver

        pass