Class WebDriverPhotoLens

java.lang.Object
net.serenitybdd.core.photography.WebDriverPhotoLens
All Implemented Interfaces:
PhotoLens

public class WebDriverPhotoLens extends Object implements PhotoLens
Take a screenshot with a specified WebDriver instance. By default screenshots will be taken using standard Selenium. You can override the default behaviour by setting the screenshot.shooter property
  • Constructor Details

    • WebDriverPhotoLens

      public WebDriverPhotoLens(org.openqa.selenium.WebDriver driver)
  • Method Details