Roman
Roman

Reputation: 37

Is it possible to let the client interact with recaptcha on the server side?

I'm using rpyc server to get data using selenium when a connection to a client is established, the problem is that the url I'm trying to access occasionally prompts a reCaptcha to fill in order to access the data needed.

I don't really need to find a way to automate a completion, what I do want is to find a way to stream the browser from the server to the client if it encounters a reCaptcha, in a manner that allows the user to interact with the browser, and fill the reCaptcha manually himself, and from there to let the server go on with the rest of his code. Something similar to Teamviewer's functionality, to implement in my setup.

I actually couldn't find any direction to follow on that subject yet, and couldn't figure out a method to try myself.

Upvotes: 0

Views: 100

Answers (1)

a-python-script
a-python-script

Reputation: 898

If you work with Selenium, then you have the opportunity to programmatically wait for elements or to detect elements. You could just have your program wait for the ReCaptcha element and make an output to the user in the console that he should solve the ReCaptcha. In the background your program already waits for the elements that appear when the ReCaptcha is solved. Once the user has solved the ReCaptcha, the program will automatically resume.

Upvotes: 0

Related Questions