public interface CloseOptions
Browser.close(CloseOptions) method.| Modifier and Type | Interface and Description |
|---|---|
static class |
CloseOptions.Builder
A builder of
CloseOptions. |
| Modifier and Type | Method and Description |
|---|---|
static CloseOptions.Builder |
newBuilder()
Creates a new
CloseOptions builder. |
default boolean |
shouldFireBeforeUnload()
Returns
true if the registered on the web page beforeunload and unload JavaScript events should be fired when closing a browser instance. |
static CloseOptions.Builder newBuilder()
CloseOptions builder.CloseOptions.Builder instancedefault boolean shouldFireBeforeUnload()
true if the registered on the web page beforeunload and unload JavaScript events should be fired when closing a browser instance.