feat: Added iOS support
This commit is contained in:
47
phone_agent/xctest/__init__.py
Normal file
47
phone_agent/xctest/__init__.py
Normal file
@@ -0,0 +1,47 @@
|
||||
"""XCTest utilities for iOS device interaction via WebDriverAgent/XCUITest."""
|
||||
|
||||
from phone_agent.xctest.connection import (
|
||||
ConnectionType,
|
||||
DeviceInfo,
|
||||
XCTestConnection,
|
||||
list_devices,
|
||||
quick_connect,
|
||||
)
|
||||
from phone_agent.xctest.device import (
|
||||
back,
|
||||
double_tap,
|
||||
get_current_app,
|
||||
home,
|
||||
launch_app,
|
||||
long_press,
|
||||
swipe,
|
||||
tap,
|
||||
)
|
||||
from phone_agent.xctest.input import (
|
||||
clear_text,
|
||||
type_text,
|
||||
)
|
||||
from phone_agent.xctest.screenshot import get_screenshot
|
||||
|
||||
__all__ = [
|
||||
# Screenshot
|
||||
"get_screenshot",
|
||||
# Input
|
||||
"type_text",
|
||||
"clear_text",
|
||||
# Device control
|
||||
"get_current_app",
|
||||
"tap",
|
||||
"swipe",
|
||||
"back",
|
||||
"home",
|
||||
"double_tap",
|
||||
"long_press",
|
||||
"launch_app",
|
||||
# Connection management
|
||||
"XCTestConnection",
|
||||
"DeviceInfo",
|
||||
"ConnectionType",
|
||||
"quick_connect",
|
||||
"list_devices",
|
||||
]
|
||||
Reference in New Issue
Block a user