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
Copy file name to clipboardExpand all lines: docs/emulation.md
+55-37Lines changed: 55 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,44 @@ Playwright allows overriding various parameters of the device where the browser
5
5
- locale, timezone
6
6
- color scheme
7
7
- geolocation
8
-
- etc
9
8
10
9
Most of these parameters are configured during the browser context construction, but some of them such as viewport size can be changed for individual pages.
11
10
12
11
<!-- GEN:toc-top-level -->
13
-
-[User agent](#user-agent)
14
-
-[Viewport, color scheme](#viewport-color-scheme)
15
12
-[Devices](#devices)
13
+
-[User agent](#user-agent)
14
+
-[Viewport](#viewport)
16
15
-[Locale & timezone](#locale--timezone)
17
16
-[Permissions](#permissions)
18
17
-[Geolocation](#geolocation)
18
+
-[Color scheme and media](#color-scheme-and-media)
19
19
<!-- GEN:stop -->
20
20
21
21
<br/>
22
22
23
+
## Devices
24
+
25
+
Playwright comes with a registry of device parameters for selected mobile devices. It can be used to simulate browser behavior on a mobile device:
0 commit comments