Python Forum
Python / Selenium Turning Off Alert
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python / Selenium Turning Off Alert
#4
You could also probably do this. Untested though.
fp = webdriver.FirefoxProfile()
fp.set_preference("dom.disable_beforeunload", True)
Recommended Tutorials:
Reply


Messages In This Thread
Python / Selenium Turning Off Alert - by graham23s - Aug-17-2019, 02:33 PM
RE: Python / Selenium Turning Off Alert - by metulburr - Aug-18-2019, 02:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use data from an API, to create an alert? PopFendi 8 3,804 Apr-22-2021, 02:21 PM
Last Post: PopFendi
  Monitor specific line of code and get alert Olimpiarob 0 1,523 Jul-08-2020, 10:06 AM
Last Post: Olimpiarob
  Issue closing an Modal Alert (popup) leviathan54 8 5,907 Apr-23-2019, 02:00 PM
Last Post: leviathan54
  Error in Selenium: CRITICAL:root:Selenium module is not installed...Exiting program. AcszE 1 3,627 Nov-03-2017, 08:41 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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