Answer the question
In order to leave comments, you need to log in
How to simulate a click on a website through a java program?
Good afternoon, members of the forum, can you tell me how or where to start creating a program whose essence is:
1. You need to go to the site and go through the captcha, enter your password and login. Ps I have to go through the captcha manually as well as log in. (that is, the program should be like a browser).
2. After that, the program should find the button on the page
3. The program should simulate a click on the button
Answers such as:
Learn java or programming, etc. please do not write.
Answer the question
In order to leave comments, you need to log in
JAVA + Selenium
Python + Selenium will be faster, but Java is also full of material for this
Even faster would be HtmlUnit .
This is a Java framework that is used internally by selenium.
And you don’t need to install anything, deploy it in the docker, etc.
You can integrate the application into a Java application and work directly at the level of Maven / Gradle dependencies. Without any pythons.
Use for button click like this .
Link to cart in profile. I will answer questions.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question