Rayrun
← Back to Discord Forum

Codegen Tool and Touch Events

remarkable_kiwi_37355posted in #help-playwright
Open in Discord
remarkable_kiwi_37355

Is there a way to get the codegen tool to register touch events?

I ran this statement npx playwright codegen --device="iPhone 13" playwright.dev

The browser opens in the correct size however I am not seeing touch events. The application I am working with is looking for touch events on mobile. (in that case the application launches an on screen keyboard) This does work with the standard device emulation tool in chrome.

Any advice? Thank you

This thread is trying to answer question "How can one enable touch events in the Playwright codegen tool when emulating a mobile device?"

1 reply
remarkable_kiwi_37355

Codegen Tool and Touch Events

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.