Fix GET /sessions issue if there is at least 1 session in W3C mode.
The issue is that session->capabilities is not available W3C mode since it was moved to 'body' object when session is initiated. Therefore, when GET /sessions is called, session->capabilities will trigger errors. Bug: chromedriver:2798 Change-Id: Ifc7dbc69d00485a53a150a96a7b6c94b9578bdb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1504760Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: Long Ly <loly@microsoft.com> Cr-Commit-Position: refs/heads/master@{#638198}
Showing
Please register or sign in to comment