Selenium Python - Advanced Patterns
You wrote this code to disable Firefox notifications but it still shows notifications during tests:
profile = FirefoxProfile()
profile.set_preference('dom.webnotifications.enabled', 'false')
profile.update_preferences()
What is the likely cause of this problem?