Hi Harry,
Implementing custom webdriver has some issues. It opens two instances of Chrome and also the screenshots for tests are blank.
Regards,
Harshad
--
You received this message because you are subscribed to a topic in the Google Groups "Serenity BDD Users Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/thucydides-users/jPUL9h3IWC4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to thucydides-use...@googlegroups.com.
To post to this group, send email to thucydid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
@Override
public boolean takesScreenshots() {
return true;
}
Hi Harry,
I am also using the serenity jbehave framework.
And I haven't override the screenshot method.
Regards
Harshad
--
switch (BROWSER) {
case NEXUS_5:
realDevice = checkForRealDevice();
capabilities.merge(chrome());
if(realDevice) {
capabilities.merge(realDeviceCapabilities());
driver = new ChromeDriver(capabilities);
} else {
capabilities.merge(softwareChromeCapabilities(true));
driver = useRemote ? new RemoteWebDriver(capabilities) : new ChromeDriver(capabilities);
closeExtraTab(driver);
}
break;
case FIREFOX