Answer the question
In order to leave comments, you need to log in
How to work with browsers (N: fill out the form) in Java or Python?
Hello!
How to work (manipulation, interaction) with browsers ( fill out a form ) in Java or Python languages ?
Imagine there is a program with a customer database. This program should fill out the form of the site opened in a browser (Internet Explorer, Mozilla FireFox, Opera, Chrome). That is in another program! The site does not have an API, so you can send current data through the site form.
How to do it? :
Answer the question
In order to leave comments, you need to log in
Grab is a simple and clear way.
Selenium - using the browser.
If there is JS in the forms, then the second option will do.
Recently, it was necessary to parse certain information from a page that was loaded using JavaScript. Selenium helped, PhantomJS was indicated by the browser.
Selenium Webdriver
Here is the documentation page. But in general, and Google to help.
docs.seleniumhq.org/docs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question