Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
form fill & button clicks
#2
Quote:I've tried this in the past using requests and or selenium, as I recall requests was good a filling in the forms and selenium was okay and mimicking a browser but I haven't found a good tool to do both and I don't believe I can make them share a connection variable/object.

I use a combination all the time. Just posted a simple example that uses Selenium to expand javascript, then beautifulsoup to parse. Although I don't do it in this simple script, there's no reason that you can't use selenium to click , fill in search boxes (and/or password info), and on target page extract links and get those pages using beautifulsoup and requests: https://python-forum.io/Thread-get-hotel...7#pid78167
Reply


Messages In This Thread
form fill & button clicks - by rudolphyaber - Apr-24-2019, 04:11 PM
RE: form fill & button clicks - by Larz60+ - Apr-24-2019, 07:06 PM
RE: form fill & button clicks BS4 - by rudolphyaber - Apr-25-2019, 05:26 PM
RE: form fill & button clicks - by Larz60+ - Apr-25-2019, 06:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Contact form button click action Man_from_India 1 2,908 Feb-01-2020, 06:21 PM
Last Post: snippsat
  Send email to gmail after user fill up contact form and getting django database updat Man_from_India 0 2,228 Jan-22-2020, 03:59 PM
Last Post: Man_from_India
  Radio button in form Heinrich 1 2,155 Jan-14-2020, 05:41 PM
Last Post: Heinrich
  Submit button not working when using form tuannv562 0 5,655 Apr-23-2018, 03:49 AM
Last Post: tuannv562

Forum Jump:

User Panel Messages

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