title: Cannot call non W3C standard command while in W3C mode (Selenium::WebDriver::Error::UnknownCommandError) with Selenium ChromeDriver in Cucumber Ruby
body: <p>We have Cucumber Ruby automation framework where we run few tests on Chrome headless browser in a Docker on Jenkins. A few days ago we started receiving an error "This version of ChromeDriver only supports Chrome version 75" this time we were using ChromeDriver 2.46 and with google-chrome-unstable browser using the following command:</p>
  
  <pre><code>#Chrome
  RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
  RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" &gt;&gt; /etc/apt/sources.list.d/google.list
  RUN apt-get update -y
  RUN apt-get install -y google-chrome-unstable
  RUN apt-get install unzip
  
  # Set up Chromedriver Environment variables
  ENV CHROMEDRIVER_VERSION 2.46
  ENV CHROMEDRIVER_VERSION 75.0.3770.8
  ENV CHROMEDRIVER_DIR /chromedriver
  RUN mkdir $CHROMEDRIVER_DIR
  # Download and install Chromedriver
  RUN wget -q --continue -P $CHROMEDRIVER_DIR "http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip"
  RUN unzip $CHROMEDRIVER_DIR/chromedriver* -d $CHROMEDRIVER_DIR
  ENV PATH $CHROMEDRIVER_DIR:$PATH
  </code></pre>
  
  <p>I have now updated chromedriver version to <code>75.0.3770.8</code> and browser to <code>google-chrome-beta=75.0.3770.27-1</code></p>
  
  <pre><code>#Chrome
  RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
  RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" &gt;&gt; /etc/apt/sources.list.d/google.list
  RUN apt-get update -y
  RUN apt-get install -y google-chrome-beta=75.0.3770.27-1
  RUN apt-get install unzip
  
  # Set up Chromedriver Environment variables
  ENV CHROMEDRIVER_VERSION 75.0.3770.8
  ENV CHROMEDRIVER_DIR /chromedriver
  RUN mkdir $CHROMEDRIVER_DIR
  RUN echo $CHROMEDRIVER_DIR
  # Download and install Chromedriver
  RUN wget -q --continue -P $CHROMEDRIVER_DIR "http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip"
  RUN unzip $CHROMEDRIVER_DIR/chromedriver* -d $CHROMEDRIVER_DIR
  ENV PATH $CHROMEDRIVER_DIR:$PATH
  </code></pre>
  
  <p>And now I can see the error as:</p>
  
  <blockquote>
    <p><strong><code>unknown command: Cannot call non W3C standard command while in W3C mode (Selenium::WebDriver::Error::UnknownCommandError)</code></strong></p>
  </blockquote>
  
  <p>Is it possible to disable W3C mode or download an older version of Chrome browser and driver that doesn't use it? I think the possibility to disable W3C check would be great.</p>