Last active
October 28, 2017 00:04
-
-
Save gunesacar/1b48b71d8619885a0dcb95bb59da592c to your computer and use it in GitHub Desktop.
tbselenium basic usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tbselenium.tbdriver import TorBrowserDriver | |
TBB_PATH = "/path/to/tbb/7.0.8/tor-browser_en-US/" | |
def main(): | |
with TorBrowserDriver(TBB_PATH) as driver: | |
driver.get('https://check.torproject.org') | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment