mozilla/browserid — Issue #1023: Enhancement request: Add a name to the BrowserID popup window
Author: davehunt
Created: 2012-02-01 17:16:21+00:00
State: open

Using Selenium to test a site with BrowserID currently has to cycle through all windows to find one with the title 'Browser ID'. It would be possible to switch directly to the window if it had a name assigned to it.

Current:

for handle in selenium.window_handles:
selenium.switch_to_window(handle)
if selenium.title == 'Browser ID':
break

Ideal:

selenium.switch_to_window('browserid')