Fix to restrict W3C commands while in W3C mode
By default, all commands are accessible. However, once user specifies session in W3C mode, all JWP commands will return as "Unknown Command". Other commands such as "unknown origin", "ChromeDriver extentions" won't be affected by the PR since they are used by Selenium binding and internal python tests. Bug: chromedriver:2060 Change-Id: I1e09fd6f06e290f374ffde5bc3507defe9fb52cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1504977Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: Long Ly <loly@microsoft.com> Cr-Commit-Position: refs/heads/master@{#638186}
Showing
This diff is collapsed.
Please register or sign in to comment