org.scalatest.selenium.WebBrowser
Capture screenshot and save it in capture directory, which by default is system property's java.
Capture screenshot and save it in capture directory, which by default is system property's java.io.tmpdir.
You can change capture directory by calling setCaptureDir
Capture screenshot and save it as the specified name (if file name does not end with .
Capture screenshot and save it as the specified name (if file name does not end with .png, it will be extended automatically) in capture directory,
which by default is system property's java.io.tmpdir. You can change capture directory by calling setCaptureDir
screenshot file name, if does not end with .png, it will be extended automatically
This object is part of ScalaTest's Selenium DSL. Please see the documentation for
WebBrowser
for an overview of the Selenium DSL.This object enables syntax such as the following: