{"repo":"webfp/tor-browser-selenium","free":true,"listed":false,"github":"https://github.com/webfp/tor-browser-selenium","clone":"git clone https://github.com/webfp/tor-browser-selenium.git","description":"Tor Browser automation with Selenium.","language":"Python","stars":595,"topics":["selenium","tor-browser","tor","automation","stem"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"tor-browser-selenium A Python library to automate Tor Browser with Selenium WebDriver. 📦 Installation [!WARNING] Windows and macOS are currently not supported. Download geckodriver v0.31.0 from the geckodriver releases page and add it to PATH. 🚀 Usage Download and extract Tor Browser, and pass its folder's path when you initialize TorBrowserDriver . In the examples below, you should not pass \"/path/to/tor-browser/\", but the (Tor Browser) folder that contains the directory called Browser : Using with system tor tor needs to be installed ( apt install tor ) and running on port 9050. Using with Stem You can use Stem to start a new tor process programmatically, and connect to it from tor-browser-selenium . Make sure you have Stem installed: pip install stem : 💡 Examples Check the examples to discover different ways to use tor-browser-selenium check tpo.py: Visit the check.torproject.org website and print the network status message headless.py: Headless visit and screenshot of check.torproject.org using PyVirtualDisplay onion service.py: Search using DuckDuckGo's Onion service parallel.py: Visit check.torproject.org with 3 browsers running in parallel screenshot.py: Take a screenshot stem simple.py: Use Stem to start a tor process stem adv.py: Use Stem to launch tor with more advanced configuration 🛠️ Test and development Browse the existing tests to find out about different ways you can use tor-browser-selenium . For development and testing first install the necessary Python ","default_branch":null,"files":null,"tree":[],"storefront":"/r/webfp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webfp/tor-browser-selenium/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}