with these default paths TorBrowserDriver works without any args
with TorBrowserDriver() as driver:
driver.get("https://httpbin.org/ip")
os.chdir is not necessary
torbrowser already uses tbb_browser_dir as workdir
this is why tbb_browser_dir must be writable
probably to write .config/ and .tor project/
on nixos linux
tbb_browser_dir
is renamed fromBrowser
totor-browser
and all other paths are originalfor example
so to avoid passing all paths to
TorBrowserDriver
i made all paths relative totbb_browser_dir
so now i can call
i hope this also works for other users ...
also fix #209
with this patch, i can package tbselenium.nix with
with these default paths
TorBrowserDriver
works without any argsos.chdir is not necessary torbrowser already uses tbb_browser_dir as workdir this is why tbb_browser_dir must be writable probably to write
.config/
and.tor project/