Can you please elaborate why you need to set a new driver before each test scenario? Also, what do you mean by "a new driver" - a new instance of the same driver type or completely different driver?
On Thu, Jan 11, 2018 at 6:46 PM, Meriya Thomas <[email protected]> wrote: > Hi, > > I have a requirement to set a new driver before every test scenario. I > tried to change the driver in the Before hook of Cucumber. But it's still > using the driver that was defined in GebConfig.groovy, > Is there a way update the driver before every test scenario? > > Thanks! > > -- > 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/61c0dbea-18d6-463b-a410-7145baf134ec%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/61c0dbea-18d6-463b-a410-7145baf134ec%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%2B52dQR7sL1kPDDO14qE3pCy19NZS0GYXd%3DCa80gij6TSo%3DeQQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
