@@ -354,6 +354,7 @@ public void SwitchingToMissingAlertThrows()
354
354
[ IgnoreBrowser ( Browser . WindowsPhone , "Alert handling not yet implemented on Windows Phone" ) ]
355
355
public void SwitchingToMissingAlertInAClosedWindowThrows ( )
356
356
{
357
+ driver . Url = alertsPage ;
357
358
string mainWindow = driver . CurrentWindowHandle ;
358
359
try
359
360
{
@@ -538,6 +539,7 @@ public void ShouldNotHandleAlertInAnotherWindow()
538
539
[ Test ]
539
540
[ Category ( "JavaScript" ) ]
540
541
[ IgnoreBrowser ( Browser . PhantomJS , "Alert commands not yet implemented in GhostDriver" ) ]
542
+ [ IgnoreBrowser ( Browser . Firefox , "After version 27, Firefox does not trigger alerts on unload." ) ]
541
543
[ IgnoreBrowser ( Browser . Chrome ) ]
542
544
[ IgnoreBrowser ( Browser . Safari ) ]
543
545
[ IgnoreBrowser ( Browser . WindowsPhone , "Alert handling not yet implemented on Windows Phone" ) ]
@@ -562,6 +564,7 @@ public void ShouldHandleAlertOnPageUnload()
562
564
[ Category ( "JavaScript" ) ]
563
565
[ IgnoreBrowser ( Browser . Android , "alerts do not pop up when a window is closed" ) ]
564
566
[ IgnoreBrowser ( Browser . Chrome ) ]
567
+ [ IgnoreBrowser ( Browser . Firefox , "After version 27, Firefox does not trigger alerts on unload." ) ]
565
568
[ IgnoreBrowser ( Browser . PhantomJS , "Alert commands not yet implemented in GhostDriver" ) ]
566
569
[ IgnoreBrowser ( Browser . Safari ) ]
567
570
[ IgnoreBrowser ( Browser . WindowsPhone , "Alert handling not yet implemented on Windows Phone" ) ]
0 commit comments