client.getOnContextMenuShownHelper();
int callCount = helper.getCallCount();
- DOMUtils.longPressNode(testCase, tab.getContentView(), client, openerDOMNodeId);
+ DOMUtils.longPressNode(testCase, tab.getContentViewCore(), openerDOMNodeId);
helper.waitForCallback(callCount);
return helper.getContextMenu();