Commit 7c44de3c authored by Watchtek's avatar Watchtek
Browse files

Add UUID

parent 5bf27e56
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@ import os
from datetime import datetime
import requests
import urllib3
import uuid

from selenium import webdriver
from selenium.webdriver.common.by import By
@@ -611,7 +612,7 @@ class MultipleTest(unittest.TestCase):
        options.add_argument("--disable-extensions")
        options.add_argument("--no-sandbox")
        timestamp = datetime.now().strftime("%y%m%d_%H%M%S")
        options.add_argument(f"--user-data-dir=/tmp/watchtek_chrome_profile_{timestamp}_{thread_id}")
        options.add_argument(f"--user-data-dir=/tmp/watchtek_chrome_profile_{timestamp}_{uuid.uuid4()}")
        options.binary_location = self.binary_location
        # Linux Only
        if sys.platform.startswith('linux'): # Check if the operating system is Linux