com.codeborne.selenide.Configuration [src]
This class contains different configuration options to configure execution of Selenide-based tests, e.g.:
timeout
: waiting timeout in milliseconds, that is used in explicit (should/shouldNot/waitUntil/waitWhile) and implicit waiting forSelenideElement
; set to4000
ms by default; can be changed for specific tests, e.g.Configuration.timeout = 6000
;collectionsTimeout
- waiting timeout in milliseconds, that is used in explicit (should/shouldNot/waitUntil/waitWhile) and implicit waiting for ElementsCollection; set to6000
ms by default; can be changed for specific tests, e.g.Configuration.collectionsTimeout = 8000
;browser
(e.g."chrome"
,"ie"
,"firefox"
)baseUrl
reportsFolder
- ...
Additionally, it is possible to pass configuration options as system properties e.g. when configuration tests execution on CI servers (continuous integration), e.g. -Dselenide.baseUrl=http://staging-server.com/start