Closed baum314nk closed 2 years ago
Traceback (most recent call last):
File "tor1.py", line 2, in
Thank you @baum314nk for reporting and @lvwuwei for the comment. I'm working on making the library compatible with Selenium 4, which may also affect how profiles are handled. I'll circle back to this issue afterwards.
First of all: Thanks for this easy to use integration of Tor Browser into Selenium :)
When providing only
tbb_fx_binary_path
andtbb_profile_path
to the TorBrowserDriver constructor, I get anFileNotFoundError
. I traced the problem back to thesetup_tbb_paths
method in tbdriver.py. The last line there wants to change the current dir to thetbb_browser_dir
which is constructed usingtbb_path
which is empty as it wasn't given.I did a dirty fix that may be useful for fixing the bug (starting at line 119 of tbdriver.py):