M
M
Mokhirjon Naimov2014-08-16 17:06:34
Python
Mokhirjon Naimov, 2014-08-16 17:06:34

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? :

  • How to work with other windows (programs) and fill out the form opened in the browser?
  • Are there libraries?
  • What should I study (give a link)!?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maxoot, 2014-08-16
@zvermafia

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.

G
Galina Balashkova, 2014-08-17
@Spring_Storm

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 question

Ask a Question

731 491 924 answers to any question