<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27183</bug_id>
          
          <creation_ts>2014-10-28 12:17:48 +0000</creation_ts>
          <short_desc>Add the possibility to properly handle the Browsers Tabs in Selenium3</short_desc>
          <delta_ts>2014-10-28 17:58:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Browser Test/Tools WG</product>
          <component>WebDriver</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Gangel">gangeld</reporter>
          <assigned_to name="Browser Testing and Tools WG">public-browser-tools-testing</assigned_to>
          <cc>ato</cc>
    
    <cc>barancev</cc>
    
    <cc>dburns</cc>
    
    <cc>gangeld</cc>
    
    <cc>mike</cc>
          
          <qa_contact name="Browser Testing and Tools WG">public-browser-tools-testing</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113830</commentid>
    <comment_count>0</comment_count>
    <who name="David Gangel">gangeld</who>
    <bug_when>2014-10-28 12:17:48 +0000</bug_when>
    <thetext>I would like to have the following functions to be implemented in Selenium3:
1. Ability to open any tabs in the opened browser by webdriver.
2. Ability to select any of the opened tabs from the opened browser by webdriver.
3. Ability to perform any of the actions on any of the tabs that could have a normal browser window.

The reason to asking this because sometimes you have a test execution flow which requires to do some actions a bit outside of the current context.
For an example:
You are shopping for something.
Your items are place in your basket.
You have the possibility to signup on the basket.
You receive a confirmation email. As a normal use case driven by a user it will open the same browsers window in a new tab.
Check some texts.
Close the Tab,
Continue with the checkout.

This is one simple example.

Raising the issue for the specification of:

https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113831</commentid>
    <comment_count>1</comment_count>
    <who name="Alexei Barantsev">barancev</who>
    <bug_when>2014-10-28 12:45:38 +0000</bug_when>
    <thetext>The same can be performed with windows instead of tabs.

To prove the need for tabs you have to provide a use case that can&apos;t be replaces with a similar scenario where all &quot;tab&quot; words are replaced with &quot;window&quot; word without losing the functionality or sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113836</commentid>
    <comment_count>2</comment_count>
    <who name="David Burns :automatedtester">dburns</who>
    <bug_when>2014-10-28 15:48:57 +0000</bug_when>
    <thetext>I believe this is already described in https://dvcs.w3.org/hg/webdriver/raw-file/tip/webdriver-spec.html#widl-WebDriver-getWindowHandles-sequence-DOMString. Once we have the windowHandles then the UA just needs to switch it and they should be seemless.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114148</commentid>
    <comment_count>3</comment_count>
    <who name="Andreas Tolfsen">ato</who>
    <bug_when>2014-10-28 17:58:35 +0000</bug_when>
    <thetext>Closing this for the reasons barancev and AutomatedTester gave.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>