Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

page.select should be page.selectOption on playwright #104

Closed
raguiar2 opened this issue Sep 29, 2020 · 1 comment · Fixed by #105
Closed

page.select should be page.selectOption on playwright #104

raguiar2 opened this issue Sep 29, 2020 · 1 comment · Fixed by #105
Assignees
Labels
🐛 bug Something isn't working

Comments

@raguiar2
Copy link

Playwright's API does not have a select method for page. Instead, it is called selectOption. This is not captured in the headless recorder, and should be refactored accordingly, otherwise playwright flows will not work with select dropdowns, as it will record the event as page.select which is undefined and throws an error.

@tnolet tnolet added the 🐛 bug Something isn't working label Sep 29, 2020
@tnolet
Copy link
Member

tnolet commented Sep 29, 2020

@raguiar2 thanks for catching that! We will create a fix for this! Tagging @maxigimenez

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants