Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Firefox binary #101

Closed
Lukinnno opened this issue Mar 14, 2018 · 5 comments
Closed

Invalid Firefox binary #101

Lukinnno opened this issue Mar 14, 2018 · 5 comments

Comments

@Lukinnno
Copy link

Hi,
could you please give me an example of correct "tbb_fx_binary_path" for windows?
I have this error:
Traceback (most recent call last):
File "C:/Python36/Moje/webTest/Tor2.py", line 10, in
with TorBrowserDriver("I:\Tor\Tor Browser\") as driver:
File "C:\Python36\lib\site-packages\tbselenium\tbdriver.py", line 44, in init
tbb_profile_path, tor_data_dir)
File "C:\Python36\lib\site-packages\tbselenium\tbdriver.py", line 124, in setup_tbb_paths
% tbb_fx_binary_path)
tbselenium.exceptions.TBDriverPathError: Invalid Firefox binary I:\Tor\Tor Browser\Browser\firefox

@DKanarsky
Copy link

DKanarsky commented Mar 24, 2018

Had the same issue. You should change tbselenium.common.DEFAULT_TBB_FX_BINARY_PATH value to join('Browser', 'firefox.exe'). Now it is: join('Browser', 'firefox') and the code isfile("...\Browser\firefox") returns False, but it is a file, not directory and must return True.

@gunesacar
Copy link
Collaborator

@DKanarsky was that the only change you have to make tbselenium work on Windows? Trying to get a sense of how hard it is to add Windows compatibility.

@gunesacar
Copy link
Collaborator

Windows is not supported at the moment.

@Crisfon6
Copy link

Crisfon6 commented Mar 2, 2021

i have the same problem on ubuntu 20.04

@f-tepel
Copy link

f-tepel commented Jul 7, 2023

Did you manage to fix it @Crisfon6 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants