/src/main/java/org/htmlunit/html/DomElement.java
&& getPage( ).getWebClient( ).getJavaScriptEngine( ).hasFeature( EVENT_ONCLICK_USES_POINTEREVENT) ) {
&& getPage ( ) .getWebClient ( ) .getBrowserVersion ( ) .hasFeature ( EVENT_ONCLICK_USES_POINTEREVENT ) ) {
if (!page.getWebClient().isJavaScriptEnabled()) { return page; } final ScriptResult scriptResult; final Event event; if (MouseEvent.TYPE_CONTEXT_MENU.equals(eventType) <extra_id_0> event = new PointerEvent(this, eventType, shiftKey, ctrlKey, altKey, button, 0); } else { event = new MouseEvent(this, eventType, shiftKey, ctrlKey, altKey, button); } scriptResult = fireEvent(event);