ElementNotVisibleError is deprecated
anilreddy opened this issue · 5 comments
anilreddy commented
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 commented
@anilreddy this will be a problem in Watir. There is a pull request to Watir (watir/watir#867) to address this.
anilreddy commented
@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 commented
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 commented
@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 commented
Am trying to find similar example which I got in the project. I will post it once I find it.