We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6912b9 commit d3c41a0Copy full SHA for d3c41a0
tbselenium/tbdriver.py
@@ -21,13 +21,14 @@
21
22
DEFAULT_BANNED_PORTS = "9050,9051,9150,9151"
23
GECKO_DRIVER_EXE_PATH = shutil.which("geckodriver")
24
+DEFAULT_TBB_BROWSER_DIR = ""
25
26
class TorBrowserDriver(FirefoxDriver):
27
"""
28
Extend Firefox webdriver to automate Tor Browser.
29
30
def __init__(self,
- tbb_browser_dir="",
31
+ tbb_browser_dir=DEFAULT_TBB_BROWSER_DIR,
32
tbb_path="",
33
tor_cfg=cm.USE_RUNNING_TOR,
34
tbb_fx_binary_path="",
0 commit comments