1

There is a website with a form (form.php) where I fill some information and I get a result on another page (search.php) P.S. action of the form is POST.

Is it possible to write an application in Java to pass values to search.php on that web server and then parse the HTML file with the result ?

1 Answer 1

1

You can write a small application which makes use of Selenium.

Selenium is a web testing automation framework which allows applications (it includes a Java Wrapper) to interact with web sites.

You can then make use of Selenium to parse the result of the POST.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.