Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fill text fields web forms
#1
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
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Selenium fields containing a word graham23s 3 2,837 Aug-22-2023, 12:35 PM
Last Post: Gaurav_Kumar
  Registration Form Fields rwahdan 2 1,893 Aug-09-2022, 10:35 AM
Last Post: Addweb
  I am trying to space the registration forms using css. But it is not working. tree 0 1,394 Apr-11-2021, 03:31 AM
Last Post: tree
  How to get data from forms? dmytruk 1 2,654 Apr-02-2019, 10:53 PM
Last Post: dmytruk
  Forms, python, passlib and other questions marienbad 1 2,429 Feb-05-2019, 04:23 AM
Last Post: snippsat
  Forms to render "Guide in steps" or not? stablepeak 1 2,248 Nov-29-2018, 10:05 PM
Last Post: nilamo
  How to auto fill latitude and longitude fields in Django2.0.6? PrateekG 9 5,766 Jun-21-2018, 11:55 AM
Last Post: gontajones

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020