title: Rails update from chromedriver-helper to webdriver shows W3C standard error
body: <p>I updated my app to <code>webdriver</code> from <code>chromedriver-helper</code> but after that my I've received errors in my specs. It fails in several cases with the same error</p>
  
  <blockquote>
    <p>Failure/Error: Unable to infer file and line number from backtrace
    Selenium::WebDriver::Error::UnknownCommandError:
            unknown command: Cannot call non W3C standard command while in W3C mode</p>
  </blockquote>
  
  <p>I followed this guide <a href="https://everydayrails.com/2019/04/09/chromedriver-helper-webdrivers.html" rel="nofollow noreferrer">https://everydayrails.com/2019/04/09/chromedriver-helper-webdrivers.html</a> but there are no single word about it. I think it's quite similar issue with this one <a href="https://stackoverflow.com/questions/56111529/cannot-call-non-w3c-standard-command-while-in-w3c-mode-seleniumwebdrivererr">Cannot call non W3C standard command while in W3C mode (Selenium::WebDriver::Error::UnknownCommandError) with Selenium ChromeDriver in Cucumber Ruby</a> but I don't see any relevant answer for that (they don't switched <code>chromedriver-helper</code> to <code>webdriver</code> actually)</p>
  
  <p><code>gemfile.rb</code></p>
  
  <pre><code>group :development, :test do
    gem "awesome_print", require: "ap"
    gem "capybara"
    gem "webdrivers"
    gem "factory_bot_rails"
    gem "faraday-detailed_logger"
    gem "pry"
    gem "rspec-rails"
    gem "site_prism"
  end
  </code></pre>