Interface ConfigurationProperties

    • Method Detail

      • getRemoteUrl

        String getRemoteUrl()
        remoteUrl
        property. Sets the remoteUrl for "remote" webDriver.
        Returns:
        remoteUrl property value
        See Also:
        RemoteWebDriver
      • getCapabilities

        org.openqa.selenium.Capabilities getCapabilities()
        capabilities
        property. Sets the Capabilities to use, as a JSON Object or a URL pointing to a JSON Object. Default value is "null".
        Returns:
        Capabilities property value
        See Also:
        Capabilities, Selenium DesiredCapabilities Wiki Page
      • getBaseUrl

        String getBaseUrl()
        baseUrl
        property. Sets the base URL used to build absolute URL when relative URL is given to FluentControlImpl.goTo(String). Default value is null.
        Returns:
        baseUrl property value
      • getDriverLifecycle

        ConfigurationProperties.DriverLifecycle getDriverLifecycle()
        driverLifecycle
        property. Sets the lifecycle of the WebDriver. WebDriver is fully managed by FluentLenium, so you should never create or quit a WebDriver by yourself. Please keep in mind that this configures when drivers are created and exited at runtime, but it does not deal with concurrency of your tests. Default value is METHOD.
        Returns:
        driverLifecycle property value
      • getBrowserTimeout

        Long getBrowserTimeout()
        browserTimeout
        property. Sets the maximum amount of time when the browser should start responding to the WebDriver. Default value is 60 seconds.
        Returns:
        long
      • getBrowserTimeoutRetries

        Integer getBrowserTimeoutRetries()
        browserTimeoutRetries
        property. Sets the maximum number of retries for failed WebDriver because of browserTimeout issues. Default value is 2 times.
        Returns:
        Integer
      • getDeleteCookies

        Boolean getDeleteCookies()
        deleteCookies
        property. When using CLASS or JVM
        driverLifecycle
        configuration property, allow to delete cookies between each test. Default value is false.
        Returns:
        deleteCookies property value.
      • getPageLoadTimeout

        Long getPageLoadTimeout()
        pageLoadTimeout
        property. Sets the amount of time in millisecond to wait for a page load to complete before throwing an error. If the timeout is negative, page loads can be indefinite. Default value is null.
        Returns:
        pageLoadTimeout property value
        See Also:
        WebDriver.Timeouts.pageLoadTimeout(long, java.util.concurrent.TimeUnit)
      • getImplicitlyWait

        Long getImplicitlyWait()
        implicitlyWait
        property. Specifies the amount of time in millisecond the driver should wait when searching for an element if it is not immediately present. Default value is null.
        Returns:
        implicitlyWait property value
        See Also:
        WebDriver.Timeouts.implicitlyWait(long, java.util.concurrent.TimeUnit)
      • getScriptTimeout

        Long getScriptTimeout()
        scriptTimeout
        property. Sets the amount of time in millisecond to wait for an asynchronous script to finish execution before throwing an error. If the timeout is negative, then the script will be allowed to run indefinitely. Default value is null.
        Returns:
        scriptTimeout property value
        See Also:
        WebDriver.Timeouts.setScriptTimeout(long, java.util.concurrent.TimeUnit)
      • getEventsEnabled

        Boolean getEventsEnabled()
        eventsEnabled
        property. Enables FluentControlImpl.events() by wrapping the WebDriver in EventFiringWebDriver. Default value is true.
        Returns:
        eventsEnabled property value.
      • getCustomProperty

        String getCustomProperty​(String propertyName)
        Get custom property value.
        Parameters:
        propertyName - name of the property
        Returns:
        property value