Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97792

Failed to launch Tor Browser

$
0
0

I tried this many times:

from tbselenium.tbdriver import TorBrowserDriver
 with TorBrowserDriver("/path/to/TorBrowserBundle/") as driver:
    driver.get('https://check.torproject.org')

*from here;https://github.com/webfp/tor-browser-selenium

With mine as

from tbselenium.tbdriver import TorBrowserDriver
 with TorBrowserDriver("C:\Program Files (x86)\TOR\Tor Browser\Browser\firefox.exe") as driver:
    driver.get('https://check.torproject.org')

But, failed to load TOR:

tbselenium.exceptions.TBDriverPathError: TBB path is not a directory C:\Program Files (x86)\TOR\Tor Browser\Browser[image]irefox.exe

That failed '[image]' is this: https://imgur.com/LqwV3qv

Why it become like that?


Viewing all articles
Browse latest Browse all 97792

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>