Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/api/params.md
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ Specify device scale factor (can be thought of as dpr). Defaults to `1`. Learn m
## context-option-ismobile
- `isMobile` <[boolean]>

Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more about [mobile emulation](../emulation.md#ismobile).
Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device, so you don't actually need to set it manually. Defaults to `false`. Learn more about [mobile emulation](../emulation.md#ismobile).

## context-option-hastouch
- `hasTouch` <[boolean]>
Expand Down
16 changes: 8 additions & 8 deletions packages/playwright-client/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11456,8 +11456,8 @@ export interface Browser {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down Expand Up @@ -17845,8 +17845,8 @@ export interface BrowserType<Unused = {}> {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down Expand Up @@ -24827,8 +24827,8 @@ export interface AndroidDevice {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down Expand Up @@ -26077,8 +26077,8 @@ export interface BrowserContextOptions {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down
16 changes: 8 additions & 8 deletions packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11456,8 +11456,8 @@ export interface Browser {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down Expand Up @@ -17845,8 +17845,8 @@ export interface BrowserType<Unused = {}> {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down Expand Up @@ -24827,8 +24827,8 @@ export interface AndroidDevice {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down Expand Up @@ -26077,8 +26077,8 @@ export interface BrowserContextOptions {

/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*/
isMobile?: boolean;

Expand Down
4 changes: 2 additions & 2 deletions packages/playwright/types/test.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7584,8 +7584,8 @@ export interface PlaywrightTestOptions {
ignoreHTTPSErrors: boolean;
/**
* Whether the `meta viewport` tag is taken into account and touch events are enabled. isMobile is a part of device,
* so you don't actually need to set it manually. Defaults to `false` and is not supported in Firefox. Learn more
* about [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
* so you don't actually need to set it manually. Defaults to `false`. Learn more about
* [mobile emulation](https://playwright.dev/docs/emulation#ismobile).
*
* **Usage**
*
Expand Down
Loading