T
T
Troodi Larson2018-03-11 22:59:10
selenium
Troodi Larson, 2018-03-11 22:59:10

How to imitate a real browser as much as possible in selenium?

There was such a problem that when using selenium + google chrome, sites do not allow me to pass captchas, although I pass them by hand. Captcha like Google or Aliexpress (slider). Although even from incognito everything is successful the first time? How, with the help of selenium, to get as close as possible to the "real" browser. Sometimes an error flies by, maybe something else is blocked: Failed to load resource: net::ERR_CONNECTION_REFUSED.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bro-dev, 2018-03-15
@bro-dev

I did it in puppeteer, several instances were launched on the server through different proxies, they broadcast to the page, I manually clicked and chose where the signs and roads were in Google recaptcha, there were no problems directly with it, everything went well. There were more troubles with the fact that the coordinates randomly jump, that is, the same numbers at different times poked at different places on the page, somehow reacted inadequately to the appearance of iframes on the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question