Skip to content

Commit 433bec7

Browse files
committed
remove user data dir
1 parent 4e73b97 commit 433bec7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

py/test/selenium/webdriver/common/bidi_webextension_tests.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import base64
1919
import os
20-
import tempfile
2120

2221
import pytest
2322
from python.runfiles import Runfiles
@@ -134,11 +133,8 @@ def chromium_driver(self, chromium_options, request):
134133
elif driver_option == "edge":
135134
browser_class = webdriver.Edge
136135

137-
temp_dir = tempfile.mkdtemp()
138-
139136
chromium_options.enable_bidi = True
140137
chromium_options.enable_webextensions = True
141-
chromium_options.add_argument(f"--user-data-dir={temp_dir}")
142138

143139
chromium_driver = browser_class(options=chromium_options)
144140

0 commit comments

Comments
 (0)