def setUpClass(cls): cls.driver = ConfigStart.get_driver() cls.url = ConfigStart.get_url() cls.wait_time_in_seconds = 30 cls.driver.implicitly_wait(cls.wait_time_in_seconds) cls.driver.set_window_size(1024, 600) cls.driver.maximize_window()
from config_start import ConfigStart if __name__ == "__main__": ConfigStart.start()