JBehave
  1. JBehave
  2. JBEHAVE-410

WebDriverProvider#takeScreenshot() should return a boolean to say if the screenshot has been taken

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2
    • Component/s: Web Selenium
    • Labels:
      None
    • Number of attachments :
      0

      Description

      As not all WebDrivers support taking screenshots (ie instances of TakesScreenshot) it's useful for the takeScreenshot() method to return a boolean value to inform when the underlying WebDriver supports screenshots.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Summary WebDriverProvider should return a boolean to say if the screenshot has been taken WebDriverProvider#takeScreenshot() should return a boolean to say if the screenshot has been taken
        Description As not all WebDrivers support taking screenshots (ie instances of TakesScreenshot) it's useful to return a boolean value to inform when it does.
        As not all WebDrivers support taking screenshots (ie instances of TakesScreenshot) it's useful for the takeScreenshot() method to return a boolean value to inform when the underlying WebDriver supports screenshots.
        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Paul Hammant
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: