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

click() / press("ArrowDown") not working on datalist option #2574

Open
VincentMaes26 opened this issue Apr 26, 2022 · 0 comments
Open

click() / press("ArrowDown") not working on datalist option #2574

VincentMaes26 opened this issue Apr 26, 2022 · 0 comments

Comments

@VincentMaes26
Copy link

VincentMaes26 commented Apr 26, 2022

This is the html setup:

<input list="datalistId">
<datalist id="datalistId">
    <option data-webid="1">Some option</option>
    <option data-webid="2">Some other option</option>
    <option data-webid="3">Another option</option>
</datalist>

When I try

await click(textBox({"list": "datalistId"});
await click($("[data-webid=1"]));

Taiko can't find the datalist option. I've also tried press("ArrowDown") after clicking the textbox but this also doesn't seem to be working.

Any help would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant