Appetize Docs
HomeDemoUploadPricing
Search
⌃K
Links
Getting Started
Platform
Uploading Apps
Listing Apps
Running Apps
Embedding Apps
Sharing Apps
App Permissions
Session Inactivity Timeout
Standalone Device
Features
Devices & OS Versions
Network Traffic Monitor
Debug Logs
UI Automation
Language & Locale
Mock Location
Deep links
Launch Params
Custom Branding
Custom Launch Pages
Advanced Features
Query Params Reference
Account
Invite your team
Single Sign-On
Reporting
REST API
Overview
Create new app
Update existing app
Direct file uploads
Delete app
List apps
Usage summary
Devices & OS Versions
IP Blocks
Sample code
Javascript SDK
Getting Started
Configuration
Automation
Testing
API reference
Sample Use Cases
Impersonation
Automate Sign-in Flow
Unlock Device
Validate Analytics Events
Screenshot Automation
Deprecated
Cross-document messages
Additional Support
Knowledge Base
Support Request
Powered By GitBook

Unlock Device

Swipe a pattern to unlock an Android device
const session = await client.startSession()
​
// Swipe in a square pattern starting at the given element
await session.swipe(
new window.appetize.SwipeGesture()
.from({
'resource-id': 'passcode_unlock'
})
.to(0, 100)
.to(40, 100)
.to(40, 200)
.to(0, 200)
.to(0, 100)
)
Sample Use Cases - Previous
Automate Sign-in Flow
Next - Sample Use Cases
Validate Analytics Events
Last modified 21d ago
Copy link