[Bug 29003] New: Order window handles

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29003

            Bug ID: 29003
           Summary: Order window handles
           Product: Browser Test/Tools WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebDriver
          Assignee: public-browser-tools-testing@w3.org
          Reporter: ato@mozilla.com
        QA Contact: public-browser-tools-testing@w3.org
                CC: mike@w3.org
  Target Milestone: ---

Quoting thephilwells from https://github.com/w3c/webdriver/issues/39:

Using the Java API, one should be able to do this

List<String> handles = driver.getWindowHandles();
driver.switchTo().window(handles[1]);

..and able to reliably expect that they are viewing the second-oldest open
window. This matters most when more than two windows are open, as when one
needs to open more than one new window from the original window.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 29 July 2015 13:50:22 UTC