The issue is that it isn't in the w3c: https://w3c.github.io/webdriver/
Probably because not all browsers implement that functionality, so it 
didn't make sense to put it in the spec.
You can request the feature in the spec, but it won't happen any time soon.



On Wednesday, April 10, 2019 at 11:43:39 AM UTC-5, rajagopalan madasami 
wrote:
>
> Yes, driver is not giving any way to this Job. Neither chrome nor 
> geckodriver. You may ask them to add it in github!
>
> Here 
> https://github.com/mozilla/geckodriver/issues
>
> For Chrome here 
>
> https://bugs.chromium.org/p/chromedriver/issues/list
>
>
> On Wed, 10 Apr, 2019, 10:05 PM NaviHan, <hishin...@gmail.com <javascript:>> 
> wrote:
>
>> I want to duplicate the browser in a new tab. Not open a blank new tab.
>>
>> And are we sure that javascript is the only way to open a new tab?
>>
>> On Wednesday, 10 April 2019 13:39:32 UTC+10, NaviHan wrote:
>>>
>>> Is there a way to duplicate a tab using Watir?
>>>
>>> (in chrome, right click on tab>Duplicate tab)
>>>
>>> I know we can use the javascript to open a new tab?
>>> Even if its new tab is there a Watir way to do that?
>>>
>>> @browser.execute_script("window.open('http://www.google.com', '_blank')")
>>>
>>>
>>>
>>> -- 
>> -- 
>> Before posting, please read 
>> https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>>  
>>
>> In short: search before you ask, be nice.
>>  
>> watir-...@googlegroups.com <javascript:>
>> http://groups.google.com/group/watir-general
>> watir-...@googlegroups.com <javascript:>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to watir-...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to