Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98775

(ensure the driver supports W3C WebDriver specification) instead.`

$
0
0

I have read other postings with the same error, but none have given me a usable solution.

I have a rails app:

gem versions

Rails 6.0.2.1
ruby 2.6.5p114 

Gem.lock

watir (6.16.5)
  regexp_parser (~> 1.2)
  selenium-webdriver (~> 3.6)

selenium-webdriver (3.142.7)
  childprocess (>= 0.5, < 4.0)
  rubyzip (>= 1.2.2)

Chrome Driver

ChromeDriver 79.0.3945.36 (3582db32b33893869b8c1339e8f4d9ed1816f143-refs/branch-heads/3945@{#614})

When I do this with watir:

 browser.select_list(id:'car_type').select('ford')
 or
 browser.button(xpath: '//div/ul/li[2]/button').click

I get the following error, repeating, in a loop:

WARN Selenium [DEPRECATION] Selenium::WebDriver::Error::ElementNotVisibleError is deprecated. Use Selenium::WebDriver::Error::ElementNotInteractableError (ensure the driver supports W3C WebDriver specification) instead.

I assume I ams using the wrong command or the wrong webdriver. How do I fix this issue? Where do I find the non-depreciated commends that replace the current commands?


Viewing all articles
Browse latest Browse all 98775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>