import StartExperience from './common/start-experience.mdx'; import SetupEnv from './common/setup-env.mdx'; import PrepareIOS from './common/prepare-ios.mdx';
import { PackageManagerTabs } from '@theme';
This guide walks you through everything required to automate an iOS device with Midscene: connect a real phone through WebDriverAgent, configure model credentials, try the no-code Playground, and run your first JavaScript script.
:::info Demo Projects
Control iOS devices with JavaScript: https://github.com/web-infra-dev/midscene-example/blob/main/ios/javascript-sdk-demo
Integrate Vitest for testing: https://github.com/web-infra-dev/midscene-example/tree/main/ios/vitest-demo
:::
Playground is the fastest way to validate the connection and observe AI-driven steps without writing code. It shares the same core as @midscene/ios, so anything that works here will behave the same once scripted.