GithubHelp home page GithubHelp logo

Comments (10)

gunesacar avatar gunesacar commented on May 29, 2024 1

8.0.4 tor & recommended gecko 0.17 also gives me this issue

Please update tbselenium from PyPI or from this repo. Either case you should upgrade to gecko 0.23.

from tor-browser-selenium.

gunesacar avatar gunesacar commented on May 29, 2024

Thanks for reporting. Indeed, upgrading to v8 broke many tests.

In the meantime, please update geckodriver and seleniumto latest if you happen to have out of date versions. As you can see from the Travis test results, a lot of tests actually pass.

from tor-browser-selenium.

alexgonca avatar alexgonca commented on May 29, 2024

I am using the latest selenium version... but I thought we had to use geckodriver v0.17.0 according to the installation instructions. Is that not the case anymore?

from tor-browser-selenium.

gunesacar avatar gunesacar commented on May 29, 2024

I am using the latest selenium version... but I thought we had to use geckodriver v0.17.0 according to the installation instructions. Is that not the case anymore?

It won't be the case any more with TB 8.0. Will be updated to the latest geckodriver version.

I just checked: tbselenium & TB 8.0 work together nicely if you use external tor process, such as 1) system tor via tor_cfg=cm.USE_RUNNING_TOR or 2) stem (see example/stem_simple.py example).

from tor-browser-selenium.

gunesacar avatar gunesacar commented on May 29, 2024

This example works for me with Tor Browser v8.0, geckodriver v0.21.0 and selenium v3.12.0

from tor-browser-selenium.

elfelround avatar elfelround commented on May 29, 2024

8.0.4 tor & recommended gecko 0.17 also gives me this issue

from tor-browser-selenium.

redshiftzero avatar redshiftzero commented on May 29, 2024

Given the test failures, we should expect limited functionality (e.g. JSDisableTest.test_disable_js is failing) using an external tor process no?

from tor-browser-selenium.

gunesacar avatar gunesacar commented on May 29, 2024

Given the test failures, we should expect limited functionality (e.g. JSDisableTest.test_disable_js is failing) using an external tor process no?

Sorry for the delayed response. Short answer is, after the pull request I just merged , disabling JavaScript and adjusting security slider became impossible so I removed those tests.

The main issue is that we disable JavaScript or adjust security slider by flipping some prefs. It looks like Tor Browser extensions are not being notified of these pref changes and act indifferently. If you need to disable JavaScript, that can be done by emulating a use visiting about: config:
https://github.com/citp/email_tracking/blob/79c78b2de09b79639776fb576ae1497d2f3184fc/crawler_emails/automation/DeployBrowsers/deploy_firefox.py#L144-L152

Other than the removed tests, removed core functionality is pretty reliable.

from tor-browser-selenium.

gunesacar avatar gunesacar commented on May 29, 2024

This is fixed by #110

from tor-browser-selenium.

blackdolphin65 avatar blackdolphin65 commented on May 29, 2024

I am facing the same problem, I also tried to install Selenium 3.3 as you have in the requirements but it says that selenium 3.3 is incompatible with tbselenium. Here you have the log from the installation of selenium 3.3: https://0bin.net/paste/ykQ0JFwr-qO+L6xR#Wx+h6tebNX+V-Wu/+dNOx55IiLIEyHkyp9f3l9T2pFP Let me know if I can do something else to fix this issue for me and other people who may face the same problem

from tor-browser-selenium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.