SIGN IN SIGN UP

Fix getLocationInView atom for documentElement

When webdriver.chrome.getLocationInView atom is passed the <html>
element (i.e., document.documentElement), it throws an error since
the parent node is not an element. This causes ChromeDriver bug
https://crbug.com/chromedriver/1049. Add check for this condition.

Signed-off-by: Alexei Barantsev <barancev@gmail.com>
J
John Chen committed
5d3d2dcd307d33b6289b8d1cd1bee6d0cda101e2
Parent: cbfc880
Committed by Alexei Barantsev <barancev@gmail.com> on 10/29/2019, 7:20:28 PM