This page is maintained for older versions of Rapise only. The latest documentation can be found at: https://rapisedoc.inflectra.com
AppiumDriver

AppiumDriver

Top  Previous  Next

 

This is a JavaScript wrapper for AppiumDriver of AppiumDotNet library.
https://github.com/appium/appium-dotnet-driver

 

 

Action Summary

 

Action

Description

ActivateIMEEngine

 

BackgroundApp

 

Close

 

CloseApp

 

CreateAppiumDriver

 

CreateDesiredCapabilities

 

DeactiveIMEEngine

 

Dispose

 

EndTestCoverage

 

ExecuteAsyncScript

 

ExecuteScript

 

FindComplex

 

FindElementByAccessibilityId

 

FindElementByAndroidUIAutomator

 

FindElementByClassName

 

FindElementByCssSelector

 

FindElementById

 

FindElementByIosUIAutomation

 

FindElementByLinkText

 

FindElementByName

 

FindElementByPartialLinkText

 

FindElementByTagName

 

FindElementByXPath

 

FindElementsByAccessibilityId

 

FindElementsByAndroidUIAutomator

 

FindElementsByClassName

 

FindElementsByCssSelector

 

FindElementsById

 

FindElementsByIosUIAutomation

 

FindElementsByLinkText

 

FindElementsByName

 

FindElementsByPartialLinkText

 

FindElementsByTagName

 

FindElementsByXPath

 

GetConnectionType

 

GetContext

 

GetContexts

 

GetCurrentActivity

 

GetCurrentWindowHandle

 

GetIMEActiveEngine

 

GetIMEAvailableEngines

 

GetOrientation

 

GetPageSource

 

GetTitle

 

GetUrl

 

GetWindowHandles

 

HideKeyboard

 

IgnoreUnimportantViews

 

InstallApp

 

IsAppInstalled

 

IsIMEActive

 

IsLocked

 

LaunchApp

 

OpenNotifications

 

PressKeyCode

 

PullFile

 

PushFile

 

Quit

 

RemoveApp

 

ResetApp

 

SetConnectionType

 

SetContext

 

SetOrientation

 

SetUrl

 

ShakeDevice

 

StartActivity

 

ToggleAirplaneMode

 

ToggleLocationServices

 

ToggleWifi

 

 

Action Detail

 

ActivateIMEEngine(imeEngine)

 

 

Parameters:

 

Name

Type

Description

imeEngine


 

 

BackgroundApp(seconds)

 

 

Parameters:

 

Name

Type

Description

seconds


 

 

Close()

 

 

CloseApp()

 

 

CreateAppiumDriver(uri, caps)

 

 

Parameters:

 

Name

Type

Description

uri


 

caps


 

 

CreateDesiredCapabilities()

 

 

DeactiveIMEEngine()

 

 

Dispose()

 

 

EndTestCoverage(intent, path)

 

 

Parameters:

 

Name

Type

Description

intent


 

path


 

 

ExecuteAsyncScript(script, args)

 

 

Parameters:

 

Name

Type

Description

script


 

args


 

 

ExecuteScript(script, args)

 

 

Parameters:

 

Name

Type

Description

script


 

args


 

 

FindComplex(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementByAccessibilityId(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementByAndroidUIAutomator(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementByClassName(className)

 

 

Parameters:

 

Name

Type

Description

className


 

 

FindElementByCssSelector(cssSelector)

 

 

Parameters:

 

Name

Type

Description

cssSelector


 

 

FindElementById(id)

 

 

Parameters:

 

Name

Type

Description

id


 

 

FindElementByIosUIAutomation(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementByLinkText(linkText)

 

 

Parameters:

 

Name

Type

Description

linkText


 

 

FindElementByName(name)

 

 

Parameters:

 

Name

Type

Description

name


 

 

FindElementByPartialLinkText(partialLinkText)

 

 

Parameters:

 

Name

Type

Description

partialLinkText


 

 

FindElementByTagName(tagName)

 

 

Parameters:

 

Name

Type

Description

tagName


 

 

FindElementByXPath(xpath)

 

 

Parameters:

 

Name

Type

Description

xpath


 

 

FindElementsByAccessibilityId(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementsByAndroidUIAutomator(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementsByClassName(className)

 

 

Parameters:

 

Name

Type

Description

className


 

 

FindElementsByCssSelector(cssSelector)

 

 

Parameters:

 

Name

Type

Description

cssSelector


 

 

FindElementsById(id)

 

 

Parameters:

 

Name

Type

Description

id


 

 

FindElementsByIosUIAutomation(selector)

 

 

Parameters:

 

Name

Type

Description

selector


 

 

FindElementsByLinkText(linkText)

 

 

Parameters:

 

Name

Type

Description

linkText


 

 

FindElementsByName(name)

 

 

Parameters:

 

Name

Type

Description

name


 

 

FindElementsByPartialLinkText(partialLinkText)

 

 

Parameters:

 

Name

Type

Description

partialLinkText


 

 

FindElementsByTagName(tagName)

 

 

Parameters:

 

Name

Type

Description

tagName


 

 

FindElementsByXPath(xpath)

 

 

Parameters:

 

Name

Type

Description

xpath


 

 

GetConnectionType()

 

 

GetContext()

 

 

GetContexts()

 

 

GetCurrentActivity()

 

 

GetCurrentWindowHandle()

 

 

GetIMEActiveEngine()

 

 

GetIMEAvailableEngines()

 

 

GetOrientation()

 

 

GetPageSource()

 

 

GetTitle()

 

 

GetUrl()

 

 

GetWindowHandles()

 

 

HideKeyboard(strategy, key)

 

 

Parameters:

 

Name

Type

Description

strategy


 

key


 

 

IgnoreUnimportantViews(value)

 

 

Parameters:

 

Name

Type

Description

value


 

 

InstallApp(appPath)

 

 

Parameters:

 

Name

Type

Description

appPath


 

 

IsAppInstalled(bundleId)

 

 

Parameters:

 

Name

Type

Description

bundleId


 

 

IsIMEActive()

 

 

IsLocked()

 

 

LaunchApp()

 

 

OpenNotifications()

 

 

PressKeyCode(keyCode)

 

 

Parameters:

 

Name

Type

Description

keyCode


 

 

PullFile(pathOnDevice)

 

 

Parameters:

 

Name

Type

Description

pathOnDevice


 

 

PushFile(pathOnDevice, base64Data)

 

 

Parameters:

 

Name

Type

Description

pathOnDevice


 

base64Data


 

 

Quit()

 

 

RemoveApp(appId)

 

 

Parameters:

 

Name

Type

Description

appId


 

 

ResetApp()

 

 

SetConnectionType(connectionType)

 

 

Parameters:

 

Name

Type

Description

connectionType


 

 

SetContext(name)

 

 

Parameters:

 

Name

Type

Description

name


 

 

SetOrientation(orientation)

 

 

Parameters:

 

Name

Type

Description

orientation


 

 

SetUrl(value)

 

 

Parameters:

 

Name

Type

Description

value


 

 

ShakeDevice()

 

 

StartActivity(appPackage, appActivity, appWaitPackage, appWaitActivity)

 

 

Parameters:

 

Name

Type

Description

appPackage


 

appActivity


 

appWaitPackage


 

appWaitActivity


 

 

ToggleAirplaneMode()

 

 

ToggleLocationServices()

 

 

ToggleWifi()