Skip to content

Commit

Permalink
add DEFAULT_TBB_BROWSER_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Jun 19, 2024
1 parent f6912b9 commit d3c41a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tbselenium/tbdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@

DEFAULT_BANNED_PORTS = "9050,9051,9150,9151"
GECKO_DRIVER_EXE_PATH = shutil.which("geckodriver")
DEFAULT_TBB_BROWSER_DIR = ""

class TorBrowserDriver(FirefoxDriver):
"""
Extend Firefox webdriver to automate Tor Browser.
"""
def __init__(self,
tbb_browser_dir="",
tbb_browser_dir=DEFAULT_TBB_BROWSER_DIR,
tbb_path="",
tor_cfg=cm.USE_RUNNING_TOR,
tbb_fx_binary_path="",
Expand Down

0 comments on commit d3c41a0

Please sign in to comment.