public abstract class WebContent extends Object
Modifier and Type | Field and Description |
---|---|
protected DesktopConnection |
connection |
protected Identity |
identity |
Modifier | Constructor and Description |
---|---|
protected |
WebContent(Identity identity,
DesktopConnection connection) |
protected DesktopConnection connection
protected Identity identity
protected WebContent(Identity identity, DesktopConnection connection)
public Identity getIdentity()
public String getUuid()
public String getName()
protected abstract String getEventTopicName()
public CompletionStage<Ack> addEventListener(String type, EventListener listener)
public CompletionStage<Ack> removeEventListener(String type, EventListener listener)
public DesktopConnection getConnection()
public CompletionStage<org.json.JSONObject> executeJavaScript(String code)
public CompletionStage<Double> getZoomLevel()
public CompletionStage<Void> setZoomLevel(double zoom)
public CompletionStage<Void> navigate(String url)
public CompletionStage<Void> navigateBack()
public CompletionStage<Void> navigateForward()
public CompletionStage<Void> stopNavigation()
public CompletionStage<Void> reloadAsync(boolean ignoreCache)
public CompletionStage<Void> printAsync(PrintOptions opts)
public CompletionStage<Void> findInPage(String searchTerm, FindInPageOptions opts)
public CompletionStage<Void> stopFindInPage(String action)
public CompletionStage<List<PrinterInfo>> getPrinters()
public CompletionStage<Void> focusAsync()
public CompletionStage<Void> showDeveloperTools()
Copyright © 2022. All rights reserved.