Fix getLocationInView atom for documentElement
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 <43b279716aaa7fd6f8dba4d5726b262d181ac789@gmail.com>

Dude-X/selenium,asolntsev/selenium,valfirst/selenium,joshmgrant/selenium,Dude-X/selenium,titusfortner/selenium,Ardesco/selenium,valfirst/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,joshmgrant/selenium,titusfortner/selenium,titusfortner/selenium,titusfortner/selenium,HtmlUnit/selenium,valfirst/selenium,valfirst/selenium,SeleniumHQ/selenium,titusfortner/selenium,valfirst/selenium,asolntsev/selenium,Ardesco/selenium,titusfortner/selenium,joshmgrant/selenium,joshmgrant/selenium,joshmgrant/selenium,joshmgrant/selenium,joshmgrant/selenium,asolntsev/selenium,SeleniumHQ/selenium,titusfortner/selenium,asolntsev/selenium,titusfortner/selenium,valfirst/selenium,SeleniumHQ/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,SeleniumHQ/selenium,asolntsev/selenium,valfirst/selenium,Ardesco/selenium,Dude-X/selenium,Dude-X/selenium,asolntsev/selenium,HtmlUnit/selenium,Ardesco/selenium,Ardesco/selenium,asolntsev/selenium,asolntsev/selenium,Dude-X/selenium,HtmlUnit/selenium,Ardesco/selenium,HtmlUnit/selenium,HtmlUnit/selenium,Dude-X/selenium,joshmgrant/selenium,joshmgrant/selenium,SeleniumHQ/selenium,Dude-X/selenium,valfirst/selenium,joshmgrant/selenium,SeleniumHQ/selenium,valfirst/selenium,Dude-X/selenium,Ardesco/selenium,Dude-X/selenium,asolntsev/selenium,HtmlUnit/selenium,SeleniumHQ/selenium,valfirst/selenium,HtmlUnit/selenium,Ardesco/selenium,titusfortner/selenium,valfirst/selenium,HtmlUnit/selenium,titusfortner/selenium,SeleniumHQ/selenium,Ardesco/selenium,joshmgrant/selenium,titusfortner/selenium