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



On Mon, Dec 12, 2016 at 3:46 PM, duggimpudi <duggimpudi.suj...@gmail.com>
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.
>
> 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.
>

-- 
-- 
Before posting, please read http://watir.com/support. 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