Input/TouchscreenInterface.php

playwright-php/playwright · src/Input/TouchscreenInterface.php · php · MIT
scraping, Scraping / Crawling

Provides a standard interface for simulating single-point tap gestures on a page viewport during automated testing.

// Source: https://github.com/playwright-php/playwright | License: MIT | Copyright 2025-present Simon André & Playwright PHP
// Provided via justclaw.it.com; keep this notice with the code.
<?php

declare(strict_types=1);

/*
 * This file is part of the community-maintained Playwright PHP project.
 * It is not affiliated with or endorsed by Microsoft.
 *
 * (c) 2025-Present - Playwright PHP - https://github.com/playwright-php
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Playwright\Input;

/**
 * Sends touch input to a page.
 *
 * The interface currently exposes single-point tap gestures.
 * Coordinates are relative to the page viewport.
 *
 * @see https://playwright.dev/docs/api/class-touchs

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key