Answer the question
In order to leave comments, you need to log in
How to execute js script on a page using Selenium?
Hello, I use Selenium to parse sites, but now I came across the fact that the site administration put a captcha at the input, at first I thought before the parser worked to solve the captcha myself and give it to the script, it worked, only, apparently, due to the fact that the browser is controlled by selenium captcha is 30 times harder to give, which is why I decided to resort to the RuCaptcha service, where in the end I get a token to pass the captcha, but everything is complicated by the fact that the token needs to be sent by running the js script from the console and specify the token in the arguments. So far, I have no idea how to organize it.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question