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

Selenium RC doesn't close popup windows properly #1758

Closed
lukeis opened this issue Mar 2, 2016 · 5 comments
Closed

Selenium RC doesn't close popup windows properly #1758

lukeis opened this issue Mar 2, 2016 · 5 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 2, 2016

Originally reported on Google Code with ID 1758

What steps will reproduce the problem?

1. Open several popup windows with different names one by onу (open a popup, switch
to it, close the popup and switch bach to main windows)
2. Watch result of getAllWindowNames()

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

Expected: as soon as each popup closed getAllWindowNames() returns a list that contains
only selenium_main_app_window
Actual: the size of the array returned by getAllWindowNames() grows, but instead of
closed window names it contains null in FF or empty string in chrome:

[selenium_main_app_window]
[selenium_main_app_window, null]
[selenium_main_app_window, null, null]
[selenium_main_app_window, null, null, null]
[selenium_main_app_window, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null]
[selenium_main_app_window, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null]

What version of the product are you using? On what operating system?
Selenium 2.0rc2 (1.0 API)
Firefox 4.0.1
Chrome 13
Windows 7 x64

Please provide any additional information below.
Sample page and a java class attached.

In internet explorer (*iehta) the list doesn't grow, but performance degrades with
each opened-n-closed popup.

Reported by barancev on 2011-06-04 22:26:19


- _Attachment: [popups.htm](https://storage.googleapis.com/google-code-attachments/selenium/issue-1758/comment-0/popups.htm)_ - _Attachment: [Experiment.java](https://storage.googleapis.com/google-code-attachments/selenium/issue-1758/comment-0/Experiment.java)_
@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Reported by barancev on 2011-10-12 21:32:45

  • Labels added: Component-RC

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

All active development is focused on Selenium 2.0 (the WebDriver APIs).  Updating issue
priority accordingly.

Reported by jmleyba on 2012-01-04 03:06:21

  • Labels added: Priority-Low

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

IE, FF are ok, only Chrome is buggy.

Reported by barancev on 2013-10-29 22:04:44

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

This issue was closed by revision 0302b2714f5f.

Reported by barancev on 2013-10-29 22:55:35

  • Status changed: Fixed

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Reported by luke.semerau on 2015-09-17 18:12:53

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 2, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant