Extend the BasicAuthLogin trait to provide credentials via basic authentication with every request.
Extend the FormBasedLogin trait to provide login information via web form before every request.
Extend the FormBasedLogin trait to provide login information via web form before every request.
The following configurations are available with this login:
ScalaTest provides a wide variety of styles.
ScalaTest provides a wide variety of styles. To make the creation of your BaseTrait easier, ScalaWebTest extends the needed combination of traits for you and provides style specific abstract classes to extend.
Default settings
This is the base trait for integration specs.
This is the base trait for integration specs. The recommended way is to create your own project specific trait, which extends IntegrationFlatSpec or IntegrationFreeSpec, depending on the ScalaTest style which you prefer.
In you own implementation you will usually overwrite settings provided by the IntegrationSettings trait, adapted the default configuration available in loginConfig and config, and extend one of the Login traits if applicable.
Extend this trait when implementing your own login implementation, to assert identical username, password field names across all implementations.
This trait provides convenience methods to access information from the webDriver.
Extension of the default HtmlUnitDriver that provides access to some of the web client's options and methods which are hidden in the default implementation.
Provide fixtures to set a specific webdriver configuration for a given function call and restore previous configuration after the function call.
Uses a custom web driver implementation that exposes its web client's options.
Uses a custom web driver implementation that exposes its web client's options. Also uses a more current browser version than the default HtmlUnit trait.
Extend the BasicAuthLogin trait to provide credentials via basic authentication with every request.
The following configurations are available with this login: