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

Update tbselenium to work with TBB 8 series #110

Merged
merged 16 commits into from
Jan 24, 2019
Merged

Conversation

gunesacar
Copy link
Collaborator

From this version on tbselenium will need to run with an external tor process (system tor, or tor started by Stem); it will not be able to start tor using the tor_launcher extension of TBB.

A new tor_cfg USE_STEM is added. When you pass this initialization argument, tbselenium will use STEM ports as default.

Certain tests such as disabling JS and adjusting security sliders are removed as we cannot guarantee these features anymore.

@userbox020
Copy link

hello, im trying to use tbselenium in windows7, for later use on windows server r12

Im using Cygwing64 python3.7 and i got the tbselenium.exceptions.TBDriverPortError: SOCKS port 9050 is not listening ERROR

I modify the default port to 9150 and then i got this error but i cant find how to solve, any idea?

Traceback (most recent call last):
File "ads.py", line 6, in
with TorBrowserDriver("/home/LEON/adsview/Tor Browser", tor_cfg=cm.USE_RUNNING_TOR) as driver:
File "/usr/lib/python3.7/site-packages/tbselenium/tbdriver.py", line 57, in init
log_path=tbb_logfile_path)
File "/usr/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities

@gunesacar
Copy link
Collaborator Author

@userbox020 Could you please open an issue?

@HappyCodingLover
Copy link

hi, gunesacar
I have go the same error of nsserror.

@gunesacar
Copy link
Collaborator Author

hi, gunesacar
I have go the same error of nsserror.

Can you please open an issue and describe how you use tor-browser-selenium?

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

Successfully merging this pull request may close these issues.

3 participants