garris / garris/BackstopJS

Can't test <select> element

Open
#1,207 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

During test integration I came across a `` element in our UI. I would like to simulate a click on said `` and then click an `` of it. Tho this results in the following puppeteer error `Error: Node is either not visible or not an HTMLElement`.

To exclude possible scripting issues on our UI I threw together I simple `index.html` including a `` with two ``s.

I'm using
```
"clickSelectors": [
".select",
".select > option:nth-child(2)"
],
```
but same error again. Is there something special about `` elements we need to know? Appreciate your help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.