add iOS support (#358)

* ios

* tests

* docs

* real device

* better list

* fixes
This commit is contained in:
Chris Tate
2026-02-03 01:36:19 -06:00
committed by GitHub
parent 3c6ae7df9d
commit a1b992411e
18 changed files with 4197 additions and 56 deletions
+14 -1
View File
@@ -521,6 +521,17 @@ export interface InputTouchCommand extends BaseCommand {
modifiers?: number;
}
// iOS-specific commands
export interface SwipeCommand extends BaseCommand {
action: 'swipe';
direction: 'up' | 'down' | 'left' | 'right';
distance?: number;
}
export interface DeviceListCommand extends BaseCommand {
action: 'device_list';
}
// Video recording (Playwright native - requires launch-time setup)
export interface VideoStartCommand extends BaseCommand {
action: 'video_start';
@@ -931,7 +942,9 @@ export type Command =
| ScreencastStopCommand
| InputMouseCommand
| InputKeyboardCommand
| InputTouchCommand;
| InputTouchCommand
| SwipeCommand
| DeviceListCommand;
// Response types
export interface SuccessResponse<T = unknown> {