Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

driver.navigate().back() blocks when back button triggers a javascript alert on the page #2181

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 2181

What steps will reproduce the problem?
1. Using IE7, go to a website that triggers a javascript alert when the user hits the
back button
2. driver.navigate().back()


What is the expected output? What do you see instead?

Alert is triggered and the method driver.navigate().back() never returns.  

The method should return so I can handle the alert accordingly from within the test.


Selenium version: 2.2.0
OS: Win XP  (selenium 2 grid server is on a Mac tho)
Browser: IE 
Brower version: 7

Reported by mmicallef on 2011-08-03 09:43:52

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions