This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28131 - Currently the spec defines switching to window by handle only, does it need by name too?
Summary: Currently the spec defines switching to window by handle only, does it need b...
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2015-03-03 16:45 UTC by David Burns :automatedtester
Modified: 2015-03-03 20:38 UTC (History)
2 users (show)

See Also:


Attachments

Description David Burns :automatedtester 2015-03-03 16:45:10 UTC
in http://w3c.github.io/webdriver/webdriver-spec.html#switchtowindow we only mention "DOMString handle". Should this only handle the UUID as the spec says or should we also handle names as the open source project does?
Comment 1 David Burns :automatedtester 2015-03-03 16:48:47 UTC
I should also note that the open source project uses the parameter name not handle, which would be preferable?
Comment 2 Andreas Tolfsen 2015-03-03 16:53:05 UTC
I thought we had made a decision about this at the meeting in London, that switchToWindow would take handle as the only valid argument: http://www.w3.org/2014/07/08-testing-minutes.html#item12
Comment 3 David Burns :automatedtester 2015-03-03 20:38:05 UTC
Since we have made a decision on this I am closing the bug and will update some tests in the OSS project