-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No screenshots in 1.0.45 with Chrome driver #50
Comments
Issue still exists with 1.0.47 console output [main] WARN net.thucydides.core.webdriver.WebDriverFacade - Failed to take screenshot - driver closed already? (unknown error: cannot take screenshot Please have a look Thanks & Regards, |
From the error message I think this is a Chrome or Chrome-driver related On 6 May 2015 at 00:56, vikramvi notifications@github.com wrote:
John Smart | Wakaleo Consulting | +61 407 247 642 The dates for the 2014 BDD workshops have been scheduled! Check out our |
Hi John, please find below 2 updates UPDATE 1: import java.io.File; import org.apache.commons.io.FileUtils; public class testDriver {
} UPDATE 2: But other observation is , say I've 70+ test case and only in some cases framework fails to take screen shot and not all cases. Please let me know if I can debug further and give more info Thanks & Regards, |
Could it be related to one of these issues? On 7 May 2015 at 02:02, vikramvi notifications@github.com wrote:
John Smart | Wakaleo Consulting | +61 407 247 642 The dates for the 2014 BDD workshops have been scheduled! Check out our |
Hi John, Sorry for not searching in bug list earlier. You're absolutely right , it is issue with selenium itself Hopefully they will release a new version sooner. Regards, |
Thanks Vikram for confirming this - I'll close this issue then. |
Is this issue resolved? I am not able to take the screenshot. chrome.switches=--disable-extensions,--test-type,--start-maximized,--incognito,--enable-automation |
Yes, the latest version of Chrome works fine with Serenity 1.2.x |
Newbie to Selenium and Serenity, See more about page object in Serenity documentation |
After upgrading from 1.0.23 to 1.0.45, I no longer get any screenshots. I'm using the Chrome driver, configured via
webdriver.driver
inserenity.properties
.Stepping through the code, I can see that
BaseStepListener.take()
gets hit, butBaseStepListener.browserIsOpen()
returns false, sinceproxiedWebDriver
is null inWebDriverFacade
so that no screenshot is taken.I also observed two instances of WebDriverFacade being created, one for an empty/default driver (i.e. firefox) and another one for chrome, which might be the root cause - hope that helps.
The text was updated successfully, but these errors were encountered: