D
D
docodc2017-01-11 01:29:08
Software testing
docodc, 2017-01-11 01:29:08

How to create an imitation of the actions of the bot, filling out the form?

I want to create an imitation of a situation where there is a certain bot that continuously registers on my site.
Which of the available solutions should I choose? I don't understand all this confusion. Why Phantom, if there is Selenium? Or do they have different tasks? How do bots usually work - is it also a bot based on a browser engine? Or does it work differently there? Well, earlier there were no these engines, but there were bots.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
qlkvg, 2017-01-11
@docodc

1. There is no problem in multiple threads to create multiple drivers. If you know how to multithread as a concept, of course.
2. PhantomJS works without gui and requires relatively few resources - this is its advantage. In headless mode, the geckodriver (firefox) is also capable, but it is more voracious. But you can always disable this headless mode and see what happens.
3. In general, it all works like this: your program -> selenium library -> selenium server (opens on localhost) -> browser driver -> browser. Accordingly, the language can be any of those for which there is a library, and the browser can be any of those for which the driver is written.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question