Skip to content

Commit d3c41a0

Browse files
committed
add DEFAULT_TBB_BROWSER_DIR
1 parent f6912b9 commit d3c41a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tbselenium/tbdriver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121

2222
DEFAULT_BANNED_PORTS = "9050,9051,9150,9151"
2323
GECKO_DRIVER_EXE_PATH = shutil.which("geckodriver")
24+
DEFAULT_TBB_BROWSER_DIR = ""
2425

2526
class TorBrowserDriver(FirefoxDriver):
2627
"""
2728
Extend Firefox webdriver to automate Tor Browser.
2829
"""
2930
def __init__(self,
30-
tbb_browser_dir="",
31+
tbb_browser_dir=DEFAULT_TBB_BROWSER_DIR,
3132
tbb_path="",
3233
tor_cfg=cm.USE_RUNNING_TOR,
3334
tbb_fx_binary_path="",

0 commit comments

Comments
 (0)