You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playwright support for iOS Real Devices is in **Beta**.
50
+
:::
42
51
43
-
# Getting Started With Playwright Testing on iOS Real Devices
44
-
* * *
45
52
Playwright test automation on real iOS devices is now supported on LambdaTest. Test on latest iPhone and iPad safari combinations to catch device-specific issues that mobile emulation may miss. Integrate with your existing CI pipeline, and access logs and debugging artifacts for each test run.
46
53
47
54
This guide will cover the basics of getting started with Playwright testing on iOS devices on the LambdaTest platform.
48
55
49
-
> **Beta release**: Playwright support for real iOS devices is currently under beta.
56
+
> Playwright testing on real iOS and Android devices is supported on Playwright **v1.53.2**
50
57
51
58
## Prerequisites
52
-
***
59
+
**Step 1:** Clone the LambdaTest-Playwright repository on your system using the following command.
53
60
54
-
>Note: All the code samples in this documentation can be found in the LambdaTest's Repository on GitHub. You can either download or clone the repository to quickly run your tests.
55
-
<a href="https://github.com/LambdaTest/playwright-sample/" className="github__anchor"><img loading="lazy" src={require('../assets/images/icons/github.png').default} alt="Image" className="doc_img"/> View on GitHub</a>
56
-
57
-
1. Clone the LambdaTest-Playwright repository on your system using the following command.
All the code samples in this documentation can be found in the LambdaTest's Repository on GitHub. You can either download or clone the repository to quickly run your tests.
67
+
<ahref="https://github.com/LambdaTest/playwright-sample/"className="github__anchor"><img loading="lazy" src={require('../assets/images/icons/github.png').default} alt="Image" className="doc_img"/> View on GitHub</a>
68
+
:::
63
69
64
-
```
70
+
**Step 2:** Install the npm dependencies.
71
+
72
+
```bash
65
73
npm install
66
74
```
67
75
68
-
3. Add browserWSEndpoint (browser end point URL) in your test script.
76
+
**Step 3:** Add browserWSEndpoint (browser end point URL) in your test script.
4. In order to run your Playwright tests on iOS devices , you will need to set your LambdaTest username and access key in the environment variables. Click the **Access Key** button at the top-right of the Automation Dashboard to access it.
82
+
**Step 4:** In order to run your Playwright tests on iOS devices , you will need to set your LambdaTest username and access key in the environment variables. Click the **Access Key** button at the top-right of the Automation Dashboard to access it.
**Step 2:** Pass the below command to run the test.
231
118
232
119
```
233
120
node playwright-ios-real-device.js
234
121
```
235
122
236
123
## View your Playwright test results
237
-
***
238
-
239
124
The LambdaTest Automation Dashboard is where you can see the results of your Playwright iOS tests after running them on the LambdaTest platform.
240
125
241
126
The below screenshot of LambdaTest Automation Dashboard shows the Playwright build on the left and the build sessions associated with the selected build on the right.
- Only Safari and Node.js integrations are currently supported; we plan to extend compatibility to additional browsers and languages soon.
248
132
249
133
- Playwright testing on real iOS devices is currently supported on latest iOS versions—iOS 17, iOS 18, and iOS 26—across both iPhones and iPads. Extension of device coverage is currently in progress.
0 commit comments