When we run the script using Microsoft Edge getting the below error :
The following JSON wire protocol command endpoint is not allowed when server is running in W3C mode. GET /shutdown
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
it was mentioned in the Microsoft documentation:
w3c Use W3C WebDriver protocol (default option) 17763
jwp Use JSON Wire protocol
https://learn.microsoft.com/en-us/microsoft-edge/webdriver
Could you please let me know how we can change from W3C mode to jwp mode?
Try to add line below in file EdgeDriverService.java
It can help web driver to launch in jwp mode.
Reference:
selenuim server node 3.14.0 failed to start new session for Edge #6464