Re: [wtr-general] Re: Is there a way to duplicate a tab using Watir

2019-04-10 Thread rajagopalan madasami
Nowadays all people are using chrome or firefox, JavaScript would perfectly be executed in these two browsers. Okay its not a problem if you don't want to add it. I have created specific function my framework to accomplish this task so it's not a problem for me. On Thu, 11 Apr, 2019, 12:06 AM

Re: [wtr-general] Re: Is there a way to duplicate a tab using Watir

2019-04-10 Thread Titus Fortner
Does the JavaScript work in all browsers? I'm reluctant to add browser specific features if not. If so, make a PR and we can evaluate it. It is low on my list of priorities for code at the moment. -- -- Before posting, please read

Re: [wtr-general] Re: Is there a way to duplicate a tab using Watir

2019-04-10 Thread rajagopalan madasami
I felt it somehow because it is the common need to everyone so this kind of request must have been raised. Perhaps WATIR may give some functionality to achieve this result wrapping up this JavaScript code like watir does for click using click! On Wed, 10 Apr, 2019, 10:23 PM Titus Fortner, wrote:

Re: [wtr-general] Re: Is there a way to duplicate a tab using Watir

2019-04-10 Thread Titus Fortner
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

Re: [wtr-general] Re: Is there a way to duplicate a tab using Watir

2019-04-10 Thread rajagopalan madasami
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, wrote: > I

[wtr-general] Re: Is there a way to duplicate a tab using Watir

2019-04-10 Thread NaviHan
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