[ChromeDriver] Do not return stale window handle
Move ExecuteGetCurrentWindowHandle() from session_commands.cc to window_commands.cc, to make use of automatic window state validation done for window commands. Bug: chromedriver:1404 Change-Id: Id5ac4c7cea5323f12612b2dfb4dff2b819ce22ff Reviewed-on: https://chromium-review.googlesource.com/1257362Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: Tatiana Buldina <buldina@chromium.org> Cr-Commit-Position: refs/heads/master@{#595938}
Showing
Please register or sign in to comment