C
C
caspi2017-09-26 10:14:26
JavaScript
caspi, 2017-09-26 10:14:26

Do slimerjs or phantomjs tests through a proxy?

Good day to all.
I have been suffering with tests for a long time, help who knows: I
wrote a small test on slimerjs that enters the page and does its own tasks, but there was a problem using proxies and they can only be used when you run the test itself, that is, through the command line, like this, slimerjs.bat -proxy localhost myscript.jsand here the problem arose how can, for example, the name of a file with a proxy run a test automatically through a random proxy, because if you manually specify each time each time, then this is some kind of horror, there would be no problem if you could set a proxy in the script itself, but you can’t do this in phantomjs a similar situation, maybe someone knows analogues of these tools without this problem.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question