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

Following links sometimes uses non-visible. #339

Open
rrehbein opened this issue Nov 13, 2018 · 0 comments
Open

Following links sometimes uses non-visible. #339

rrehbein opened this issue Nov 13, 2018 · 0 comments

Comments

@rrehbein
Copy link
Contributor

Following links sometimes uses non-visible.

<ul style="display: none" class="header-drop-menu">
<li><a>A link</a></li>
</ul>

<div class="footer">
<a>A link</a>
</div>

Given I follow "A link"

Error: Node is either not visible or not an HTMLElement

It appears filtering ElementHandles by return type of elementHandle.boundingBox() can be used.

Adding that filter though to Mink.prototype.link may not fit though.

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

No branches or pull requests

1 participant