mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-09 06:52:46 -04:00
page.interstitial exception test
This commit is contained in:
parent
1054d2d644
commit
181e7ab85d
1 changed files with 6 additions and 0 deletions
|
@ -111,6 +111,12 @@ def test_aw_snap_hes_dead_jim():
|
|||
with pytest.raises(brozzler.BrowsingException):
|
||||
browser.browse_page('chrome://crash')
|
||||
|
||||
def test_page_interstitial_exception():
|
||||
chrome_exe = brozzler.suggest_default_chrome_exe()
|
||||
with brozzler.Browser(chrome_exe=chrome_exe) as browser:
|
||||
with pytest.raises(brozzler.PageInterstitialShown):
|
||||
browser.browse_page('https://monitor.archive.org/cgi-bin/nagios3/status.cgi?hostgroup=38.wbgrp')
|
||||
|
||||
def test_on_response(httpd):
|
||||
response_urls = []
|
||||
def on_response(msg):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue