Interface SupportsPageLoadStrategyOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<org.openqa.selenium.PageLoadStrategy> getPageLoadStrategy()
      Get the current session’s page load strategy.
      default T setPageLoadStrategy​(org.openqa.selenium.PageLoadStrategy strategy)
      Defines the current session’s page load strategy.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Field Detail

      • PAGE_LOAD_STRATEGY_OPTION

        static final java.lang.String PAGE_LOAD_STRATEGY_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setPageLoadStrategy

        default T setPageLoadStrategy​(org.openqa.selenium.PageLoadStrategy strategy)
        Defines the current session’s page load strategy.
        Parameters:
        strategy - Page load strategy.
        Returns:
        self instance for chaining.
      • getPageLoadStrategy

        default java.util.Optional<org.openqa.selenium.PageLoadStrategy> getPageLoadStrategy()
        Get the current session’s page load strategy.
        Returns:
        Page load strategy.