Mac Os işletim sisteminde Seleniumu Tor ile açmak mümkün mü?

Arkadaşlar Merhaba.
Seleniumda browseri tor olarak açmak istiyorum. İnternette yabancı kaynaklarda bir kaç gösterim var ama hepsi WİN işletim sistemine göre anlatılmakta. Mac Os kullanıyorum. Seleniumu Tor Browser ile açma şansım bulunuyor mu?

https://googledaariyim.com/?q=https%3A%2F%2Fintellipaat.com%2Fcommunity%2F13153%2Fopen-tor-browser-with-selenium

Biraz uzun oldu ama olsun :sweat_smile:

Direk site urlsini atsaydın olurdu ki buraya öncden baktım ve çözüm bulamadım değerli dostum.

Haklısın, biraz eğlenmek içindi.

Hm, maalesef en başta çıkan şey buydu. Yardımcı olabilir diye paylaşmıştım. Şu an birisi yanıtlıyor, muhtemelen sizi çözüme ulaştıracak.

Merhaba, bu linki daha once incelediniz mi?

Two things have to happen:

  1. Set the binary path to the firefox binary that Tor uses. On a Mac this path would typically be /Applications/TorBrowser.app/Contents/MacOS/firefox . On my Ubuntu machine it is /usr/bin/tor-browser/Browser/firefox .

  2. The Tor browser uses a SOCKS host at 127.0.0.1:9150 either through Vidalia or Tor installation. Launch Tor once from the Finder and leave it open so that Vidalia will be running. The instances launched with selenium will use the SOCKS host that Vidalia starts, too.

Here is the code to accomplish those two things. I run this on Mac OS X Yosemite: