Answer the question
In order to leave comments, you need to log in
Is it possible to do multithreading through a proxy in js phantom?
Good afternoon, tell me about a lot of threading in js phantom.
The task is this:
Answer the question
In order to leave comments, you need to log in
It is possible and there is no magic in it. It is not necessary to bind to the phantom in your case (it has some problems, for example, with closing alerts), use any other web driver for selenium. Working through a proxy and replacing headers, as well as filtering traffic passing through the web driver is possible via https://github.com/antonecma/browsermob-proxy-clie... , which I wrote for these purposes. That is, you need to dig towards Google with the following requests: Selenium, chromewebdrive, browsermob proxy, well, you can look at webdriverio.
In theory, yes.
In practice, to run 70-80 phantoms, you need to have a virtual machine for each.
Phantom does not work in several "windows"
Run multiple PhantomJS from the console with different proxy and webdriver settings.
Headless browser is fast and stable. Maybe?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question