INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Shortcut for #fireEvent(Event). @param eventType the event type (like "load", "click") @return the execution result, or null if nothing is executed
(final String eventType)
| 1522 | * @return the execution result, or {@code null} if nothing is executed |
| 1523 | */ |
| 1524 | public ScriptResult fireEvent(final String eventType) { |
| 1525 | if (getPage().getWebClient().isJavaScriptEnabled()) { |
| 1526 | return fireEvent(new Event(this, eventType)); |
| 1527 | } |
| 1528 | return null; |
| 1529 | } |
| 1530 | |
| 1531 | /** |
| 1532 | * <span style="color:red">INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.</span><br> |
no test coverage detected