Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

playwright-mobile-lib

Current release: 0.1.0 beta.

The public API can change between beta releases.

Cross-platform Playwright fixtures for mobile web testing on real devices:

  • iOS Safari, or local WebKit for pre-flight runs
  • Android Chrome, or local Chromium for pre-flight runs

The package exports one standard Playwright test. Its driver is selected from capabilities.platformName ('iOS' or 'Android'), so the same tests, page objects, and fixture extensions run on both platforms.

const { test, expect } = require('playwright-mobile-lib');

test('opens a page', async ({ page }) => {
  await page.goto('https://example.com');
  await expect(page).toHaveTitle(/Example/);
});

Documentation

Topic Document
Install, quickstart, and where tests run docs/getting-started.md
Capabilities, context options, and environment variables docs/configuration.md
Fixtures, platform-specific and blocked APIs, and extending test docs/api.md
Design and contributor module map docs/architecture.md

License

Playwright Mobile Library is released under version 2.0 of the Apache License.

The distributed bundle contains only this project's code. Runtime dependencies are not redistributed.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages