Loading load_check.py +5 −1 Original line number Diff line number Diff line Loading @@ -38,6 +38,9 @@ class MultipleTest(unittest.TestCase): print(f"입력한 경로가 존재하지 않거나 파일이 아닙니다: {chrome_path}") print("다시 입력해주세요.\n") print("\n2. [필수 입력] webdriver 위치 (e.g., /opt/chromedriver-linux64/chromedriver, D:\\tmp\\chromedriver-win64\\chromedriver.exe): ") self.webdriver_path = input().strip() print("\n2. [필수 입력] 테스트 대상 웹 (e.g., https://example.com:8443/): ") self.dc_address = input() if self.check_http_status(self.dc_address): Loading Loading @@ -606,7 +609,8 @@ class MultipleTest(unittest.TestCase): if sys.platform.startswith('linux'): # Check if the operating system is Linux options.add_argument("--no-sandbox") options.add_argument("--disable-dev-shm-usage") driver = webdriver.Chrome(options=options) driver = webdriver.Chrome(executable_path=self.webdriver_path, options=options) # driver = webdriver.Chrome(options=options) driver.instance_number = driver_instance_number # Attach instance number to driver for logging driver.user_id = user_id # Attach user ID to driver for logging driver.implicitly_wait(10) # Common implicit wait for this driver Loading Loading
load_check.py +5 −1 Original line number Diff line number Diff line Loading @@ -38,6 +38,9 @@ class MultipleTest(unittest.TestCase): print(f"입력한 경로가 존재하지 않거나 파일이 아닙니다: {chrome_path}") print("다시 입력해주세요.\n") print("\n2. [필수 입력] webdriver 위치 (e.g., /opt/chromedriver-linux64/chromedriver, D:\\tmp\\chromedriver-win64\\chromedriver.exe): ") self.webdriver_path = input().strip() print("\n2. [필수 입력] 테스트 대상 웹 (e.g., https://example.com:8443/): ") self.dc_address = input() if self.check_http_status(self.dc_address): Loading Loading @@ -606,7 +609,8 @@ class MultipleTest(unittest.TestCase): if sys.platform.startswith('linux'): # Check if the operating system is Linux options.add_argument("--no-sandbox") options.add_argument("--disable-dev-shm-usage") driver = webdriver.Chrome(options=options) driver = webdriver.Chrome(executable_path=self.webdriver_path, options=options) # driver = webdriver.Chrome(options=options) driver.instance_number = driver_instance_number # Attach instance number to driver for logging driver.user_id = user_id # Attach user ID to driver for logging driver.implicitly_wait(10) # Common implicit wait for this driver Loading