Skip to content

Instantly share code, notes, and snippets.

@gunesacar
Last active October 28, 2017 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gunesacar/1b48b71d8619885a0dcb95bb59da592c to your computer and use it in GitHub Desktop.
Save gunesacar/1b48b71d8619885a0dcb95bb59da592c to your computer and use it in GitHub Desktop.
tbselenium basic usage
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