3 ms·
Does it? I don't think you can reliably identify whether something is visible if the other site, which controls the CSS, does not want you to. It's a classical
by anoncake 8y ago
Does it? I don't think you can reliably identify whether something is visible if the other site, which controls the CSS, does not want you to. It's a classical arms race situation.
- thecatspaw 8y agoSelenium can reliably do that, as it is a proper webbrowser controlled through an API
- anoncake 8y agoYes, but it is not a human eye and brain.
- plausibilities 8y agohttps://webdriver.io/docs/api/element/isDisplayed.html https://webdriver.io/docs/api/element/isDisplayed.html
- anoncake 8y ago<span style="opacity: 0.001">Trap!</span>