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

ElementNotVisibleError is deprecated #487

Open
anilreddy opened this issue Aug 19, 2019 · 5 comments
Open

ElementNotVisibleError is deprecated #487

anilreddy opened this issue Aug 19, 2019 · 5 comments

Comments

@anilreddy
Copy link

anilreddy commented Aug 19, 2019

While am using the wait conditions in the pageobject am getting the following error. Can any one resolve this issue.

19-08-16 08:23:42 WARN Selenium [DEPRECATION] Selenium::WebDriver::Error::ElementNotVisibleError is deprecated. Use Selenium::WebDriver::Error::ElementNotInteractableError (ensure the driver supports W3C WebDriver specification) instead.
@jkotests
Copy link
Collaborator

@anilreddy this will be a problem in Watir. There is a pull request to Watir (watir/watir#867) to address this.

@anilreddy
Copy link
Author

@jkotests I am getting these warnings as well it is in pageobject.

2019-09-23 01:27:54 WARN Watir ["visible_element"] #visible? behavior will be changing slightly, consider switching to #present? (more details: http://watir.com/element-existentialism/)

@anilreddy
Copy link
Author

This one as well.

2019-09-23 01:42:51 WARN Watir [DEPRECATION] ["stale_present"] Checking `#present? == false` to determine a stale element is deprecated. Use `#stale? == true` instead; see explanation for this deprecation: http://watir.com/staleness-changes

@jkotests
Copy link
Collaborator

@anilreddy , can you please provide code examples for when the error is being generated? It would help us track down where the problem is. Thanks.

@anilreddy
Copy link
Author

Am trying to find similar example which I got in the project. I will post it once I find it.

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

2 participants