title: Getting error message in Edge 'JSON wire protocol command endpoint is not allowed' when server uses w3c
body: <p>When we run the script using Microsoft Edge getting the below error :</p>
  
  <blockquote>
    <p>The following JSON wire protocol command endpoint is not allowed when server is running in W3C mode.
    GET /shutdown</p>
  </blockquote>
  
  <p>What I understand is that Edge now supports W3C mode by default. Our Java binding is sending in Json wire protocol mode(JWP). How we can instruct to Microsoft WebDriver that use JWP mode instead of W3c mode </p>
  
  <p>it was mentioned in the Microsoft documentation:</p>
  
  <blockquote>
    <p>w3c    Use W3C WebDriver protocol (default option) 17763 <br>
    jwp    Use JSON Wire protocol</p>
  </blockquote>
  
  <p><a href="https://docs.microsoft.com/en-us/microsoft-edge/webdriver" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/microsoft-edge/webdriver</a></p>
  
  <p>Could you please let me know how we can change from W3C mode to jwp mode?</p>