}
protected static WebElement dropProxyAndFindElement(By by, SearchContext searchContext) {
if (searchContext instanceof GrapheneProxyInstance) {
SearchContext unwrapped = (SearchContext) ((GrapheneProxyInstance) searchContext).unwrap();
return unwrapped.findElement(by);
} else {
return searchContext.findElement(by);
}
}