Abstract class that encapsulates a browser name, tag name, and Selenium WebDriver
factory method.
This class is used by AllBrowsersPerSuite and AllBrowsersPerTest: an IndexedSeq[BrowserInfo]
is returned from the browsers
field of these traits to specify the browsers to share between tests. When tests are registered, AllBrowsersPerSuite
and AllBrowsersPerTest
use 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 the BrowserInfo
's factory method to create WebDriver
s as needed. The AllBrowsersPerSuite
and AllBrowsersPerTest
traits use the tag name to automatically tag any tests that use a particular WebDriver
with the appropriate tag so that tests can be dynamically filtered by the browser the use.
BrowserInfo
is not sealed so that you can extend it if you need other Browser types, for example, Firefox browsers with different profiles (English, Japanese, etc.).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4