Interface SupportsRecreateChromeDriverSessionsOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

public interface SupportsRecreateChromeDriverSessionsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    Get whether chromedriver sessions should be killed and then recreated instead of just suspending it on context switch.
    default T
    Enforce chromedriver sessions to be killed and then recreated instead of just suspending it on context switch.
    default T
    If this capability is set to true then chromedriver session is always going to be killed and then recreated instead of just suspending it on context switching.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • recreateChromeDriverSessions

      default T recreateChromeDriverSessions()
      Enforce chromedriver sessions to be killed and then recreated instead of just suspending it on context switch.
      Returns:
      self instance for chaining.
    • setRecreateChromeDriverSessions

      default T setRecreateChromeDriverSessions(boolean value)
      If this capability is set to true then chromedriver session is always going to be killed and then recreated instead of just suspending it on context switching. false by default.
      Parameters:
      value - Whether to recreate chromedriver sessions.
      Returns:
      self instance for chaining.
    • doesRecreateChromeDriverSessions

      default Optional<Boolean> doesRecreateChromeDriverSessions()
      Get whether chromedriver sessions should be killed and then recreated instead of just suspending it on context switch.
      Returns:
      True or false.