Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How can we touch a button on screen ? #2426

Closed
ordimans opened this issue May 31, 2020 · 2 comments
Closed

[Question] How can we touch a button on screen ? #2426

ordimans opened this issue May 31, 2020 · 2 comments
Assignees

Comments

@ordimans
Copy link

Hello

I have a mobile website, with a tap button, and with puppeeter i used :

await page.touchscreen.tap(300,720)

But on Playwright, i don't know how can i do ?

With click on element is not working, with page.click and position, nothing....

Thanks you in advance

@roune
Copy link

roune commented Aug 11, 2020

I am also interested in this feature because it is essential on my project. It worked perfectly on Puppeteer but I do not know how difficult it would be to import on Playwright.

@dgozman
Copy link
Contributor

dgozman commented Nov 23, 2020

Playwright v1.6 introduced page.tap and page.touchscreen.

@dgozman dgozman closed this as completed Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants