def test_get_alert_return_none_if_no_alerts(browser, app_url):
    "should return None if no alerts available"
    alert = browser.get_alert()
    assert alert is None
should return None if no alerts available
tests/tests_webdriver/test_alerts.py