Geb has built-in WebDriver instance cache which by default only allows creation of a single WebDriver instance per JVM as described in http://gebish.org/manual/current/#driver-caching-configuration. You can change this behaviour to be instance per thread using cacheDriverPerThread config option which is described in the manual section I linked to.
Marcin On Sat, Dec 30, 2017 at 1:15 AM, manikandan murugaiah < [email protected]> wrote: > My Tests are extending GebReportingTest(TestNg). When I run the testng > file with classes as parallel , I can see the classes getting executed in > parallel but only one browser has been opened. > It looks like the browser is shared between the tests. Could you please > advise how to launch multiple browsers. > > -- > You received this message because you are subscribed to the Google Groups > "Geb User Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/geb-user/f3e89de3-eb6f-42e9-98c9-1e5c968a0b41%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/f3e89de3-eb6f-42e9-98c9-1e5c968a0b41%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CA%2B52dQTERLxE1e40J3aOO0%3D3Yp8Tuy4QqwmRaMO%2BdT3KMBozPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
