Python Forum
Click on button with python mechanize
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Click on button with python mechanize
#2
try this
br.submit(id='allow')
if there is javascript in there, then you cannot do it with mechanize. You will need selenium.
Recommended Tutorials:
Reply


Messages In This Thread
Click on button with python mechanize - by torlkius - Jan-03-2018, 01:20 PM
RE: Click on button with python mechanize - by metulburr - Jan-03-2018, 01:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  cant click button by script at page michael1834 1 1,128 Dec-08-2023, 04:44 PM
Last Post: SpongeB0B
  Click on a button on web page using Selenium Pavel_47 7 4,802 Jan-05-2023, 04:20 AM
Last Post: ellapurnellrt
  Show HTML in Python application and handle click SamHobbs 2 2,772 Sep-28-2021, 06:27 PM
Last Post: SamHobbs
  Automating Captcha form submission with Mechanize Dexty 2 3,357 Aug-03-2021, 01:02 PM
Last Post: Dexty
  button click error rafarangel 2 3,171 Feb-11-2021, 08:19 PM
Last Post: buran
  Log In Button Won't Click - Python Selenium Webdriver samlee916 2 3,887 Jun-07-2020, 04:42 PM
Last Post: samlee916
  How to click facebook message button JanelleGuthrie 2 2,451 May-14-2020, 06:02 PM
Last Post: Larz60+
  Contact form button click action Man_from_India 1 2,838 Feb-01-2020, 06:21 PM
Last Post: snippsat
  HOWTO? Login DSL Modem with Python Requests: need Click "Apply" Button Webtest 4 8,561 Aug-20-2019, 04:03 PM
Last Post: johnmina
  Selenium click on popup button??? GuJu 7 8,057 Jul-20-2019, 09:21 AM
Last Post: Nizam

Forum Jump:

User Panel Messages

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