You need to have assign each browser to a different variable.
As soon as you use browser to define a different object, you no longer have 
access to the first object.

Do you need your code to run at the same time, or just to execute with 
different browsers?



On Friday, May 11, 2018 at 8:34:04 AM UTC-7, [email protected] wrote:
>
> I have attached the code of it.
>
> Can I run 2 browsers and can I execute in both the browsers?
>
> I am able to open both the browsers but the code is running in only one 
> browser.
>
> Let me know the best solutions
>
> Thanks in advance.
>

-- 
-- 
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.

[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