Class BambooWebDriverScreenshotRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class BambooWebDriverScreenshotRule
    extends com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
    • Constructor Detail

      • BambooWebDriverScreenshotRule

        public BambooWebDriverScreenshotRule​(@NotNull
                                             @NotNull BambooTestedProduct product)
        Constructs the screenshot rule.
    • Method Detail

      • periodicalScreenshots

        public BambooWebDriverScreenshotRule periodicalScreenshots​(@NotNull
                                                                   @NotNull Duration interval)
        Returns a new instance of this rule, which will take periodical screenshots during test execution.
      • starting

        protected void starting​(@NotNull
                                @NotNull org.junit.runner.Description description)
        Overrides:
        starting in class com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
      • finished

        protected void finished​(@NotNull
                                @NotNull org.junit.runner.Description description)
        Overrides:
        finished in class org.junit.rules.TestWatcher