Interface SupportsAvdOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AVD_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getAvd()
      Get the name of Android emulator to run the test on.
      default T setAvd​(java.lang.String avd)
      The name of Android emulator to run the test on.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Method Detail

      • setAvd

        default T setAvd​(java.lang.String avd)
        The name of Android emulator to run the test on. The names of currently installed emulators could be listed using avdmanager list avd command. If the emulator with the given name is not running then it is going to be started before a test.
        Parameters:
        avd - The emulator name to use.
        Returns:
        self instance for chaining.
      • getAvd

        default java.util.Optional<java.lang.String> getAvd()
        Get the name of Android emulator to run the test on.
        Returns:
        Emulator name.