To open a new window:
browser.execute_script('window.open("http://google.com";)')



On Mon, Dec 12, 2016 at 3:46 PM, duggimpudi <[email protected]>
wrote:

> I need to open the tab parallely when am executing my scenario in same
> browser in chrome. Am using rubymine with ruby for executing my steps.
>
> eg:Let say my scenario has 10 steps after completion of the 7th
> step(cucmber) i need to open the same url in another tab before that
> execution tab close. Thanks in advance for your response.
>
>
> --
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to