the DesiredCapabilities to use when creating new org.openqa.selenium.phantomjs.PhantomJSDriver
in the createWebDriver factory method.
Creates a new instance of a Selenium org.openqa.selenium.phantomjs.PhantomJSDriver, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicates Firefox was not supported on the host platform and an appropriate error message.
Creates a new instance of a Selenium org.openqa.selenium.phantomjs.PhantomJSDriver, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicates Firefox was not supported on the host platform and an appropriate error message.
an new instance of a Selenium org.openqa.selenium.phantomjs.PhantomJSDriver, or a BrowserFactory.UnavailableDriver if PhantomJS was not available on the host platform.
the browser name, surrounded by square brackets
the browser name, surrounded by square brackets
the DesiredCapabilities to use when creating new org.openqa.selenium.phantomjs.PhantomJSDriver
in the createWebDriver factory method.
the browser tag name
the browser tag name
PhantomJS browser info, which encapsulates the browser name,
"[PhantomJS]"; tag name,org.scalatest.tags.PhantomJS; and a factory method that produces a Selenium org.openqa.selenium.phantomjs.PhantomJSDriver.This class's superclass,
BrowserInfo, is used by AllBrowsersPerSuite and AllBrowsersPerTest: anIndexedSeq[BrowserInfo]is returned from thebrowsersfield of these traits to specify the browsers to share between tests. When tests are registered,AllBrowsersPerSuiteandAllBrowsersPerTestuse the browser name to ensure the tests shared by multiple browsers have unique names (the name of each shared test is appended with a browser name). When the tests run, these traits use theBrowserInfo's factory method to createWebDrivers as needed. TheAllBrowsersPerSuiteandAllBrowsersPerTesttraits use the tag name to automatically tag any tests that use a particularWebDriverwith the appropriate tag so that tests can be dynamically filtered by the browser the use.the DesiredCapabilities to use when creating new org.openqa.selenium.phantomjs.PhantomJSDriver in the
createWebDriverfactory method.