Python Forum

Full Version: How to fill text fields web forms
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all!

I am trying to fill the text fields on the following web form to make a search, and, after scratch the results.

Web Form to fill

I can select options from the combobox using Selenium. It works fine. But I cannot insert text on the text fields.

There is no API to use...

Has anyone know a way to insert text on the text fields in a web form?

Regards,
Martinelli
Hi, guys!

Sorry for that! Big Grin

I found it!

browser.find_element_by_id('user').send_keys('text')
It solved my problem.

Thanks!!
Gustavo Martinelli