-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
1、 first invoke was successful
Shutterbug.wait(getExpectedCondition(screenshotElement),60)
.shootElement(webDriver, getWebElement(webDriver, screenshotElement), CaptureElement.FULL_SCROLL)
.withName(fileName)
.save("/Users/evan/Documents/test");
2、second invoke not with wait() method; NoSuchMethodError
PageSnapshot snapshot = Shutterbug.shootPage(webDriver, Capture.FULL_SCROLL)
.snapshot.withName(fileName)
.save("/Users/evan/Documents/test");
EXCEPTIONG:
Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: org.openqa.selenium.support.ui.FluentWait.withTimeout(Ljava/time/Duration;)Lorg/openqa/selenium/support/ui/FluentWait;
whether Shutterbug.beforeShootCondition variable is static ?
Metadata
Metadata
Assignees
Labels
No labels