createScreenshot("_click");
}
@Override
public void onException(Throwable throwable, WebDriver driver) {
if (handlingException) {
<BUG>log.error("skipping screenshot for exception in exception handler", throwable);
</BUG>
return;
}
handlingException = true;

createScreenshot("_click");
}
@Override
public void onException(Throwable throwable, WebDriver driver) {
if (handlingException) {
log.error("[Screenshot]: Skipping screenshot for exception in exception handler", throwable);
return;
}
handlingException = true;
