Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

Elements shifted off the page with negative locations are considered visible #813

Open
twalpole opened this issue Sep 21, 2016 · 2 comments

Comments

@twalpole
Copy link
Contributor

When using poltergeist (and capybara-webkit)

<input id="radio_1" name="radio" value="1" type="radio", style="position:absolute; left: -9999px>

is considered a visible element, although it cannot be seen or interacted with (clicked, etc). Current selenium-webdriver (2.53.4) reports it as non-visible, although the 3.0.0.beta3.1 version reports it as visible but throws an ElementNotVisible error if you try to click it. @route - thoughts?

@route
Copy link
Contributor

route commented Feb 27, 2017

Sorry for a long delay, just found it. @twalpole isn't it a PhantomJS issue?

@twalpole
Copy link
Contributor Author

@route yes it probably is a PhantomJS issue, but it's one we could probably implement a workaround for in Poltergeist.

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

No branches or pull requests

2 participants