Package io.appium.java_client
Interface CanRememberExtensionPresence
-
- All Known Subinterfaces:
AuthenticatesByFinger,CanReplaceElementValue,HasAndroidClipboard,HasAndroidDeviceDetails,HasAppStrings,HasClipboard,HasIOSClipboard,HasNetworkConnection,HasNotifications,HasOnScreenKeyboard,HasSupportedPerformanceDataType,HidesKeyboard,HidesKeyboardWithKeyName,InteractsWithApps,LocksDevice,PressesKey,PullsFiles,PushesFiles,ShakesDevice,StartsActivity,SupportsGpsStateManagement,SupportsNetworkStateManagement,SupportsSpecialEmulatorCommands
- All Known Implementing Classes:
AndroidDriver,AppiumDriver,ChromiumDriver,FlutterAndroidDriver,FlutterIOSDriver,GeckoDriver,IOSDriver,Mac2Driver,SafariDriver,WindowsDriver
public interface CanRememberExtensionPresence
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutesMethodassertExtensionExists(java.lang.String extName)Verifies if the given extension is not present in the list of absent extensions for the given driver instance.ExecutesMethodmarkExtensionAbsence(java.lang.String extName)Marks the given extension as absent for the given driver instance.
-
-
-
Method Detail
-
assertExtensionExists
ExecutesMethod assertExtensionExists(java.lang.String extName)
Verifies if the given extension is not present in the list of absent extensions for the given driver instance. This API is designed for private usage.- Parameters:
extName- extension name.- Returns:
- self instance for chaining.
- Throws:
org.openqa.selenium.UnsupportedCommandException- if the extension is listed in the list of absents.
-
markExtensionAbsence
ExecutesMethod markExtensionAbsence(java.lang.String extName)
Marks the given extension as absent for the given driver instance. This API is designed for private usage.- Parameters:
extName- extension name.- Returns:
- self instance for chaining.
-
-