BrowserKt

public final class BrowserKt
public final class BrowserKt

Properties

Link copied to clipboard
private final static Audio audio
private final static Audio audio

Returns the service that allows controlling audio on a currently loaded web page.

Link copied to clipboard
private final static Bitmap bitmap
private final static Bitmap bitmap

Returns a Bitmap that contains the image of the currently loaded web page.

Link copied to clipboard

Returns the default JavaScript PresentationRequest specified on the page.

Link copied to clipboard
private final static DevTools devTools
private final static DevTools devTools

Returns the service that allows working with Chromium Developer Tools.

Link copied to clipboard
private final static Display display
private final static Display display

Returns the display where the current browser instance is located.

Link copied to clipboard
private final static Engine engine
private final static Engine engine

Returns the engine instance of this Browser.

Link copied to clipboard
private final static Bitmap favicon
private final static Bitmap favicon

Returns a Bitmap that contains the favicon of the currently loaded web page or the default Chromium favicon if the browser did not load any web pages or loaded web page URL is invalid.

Link copied to clipboard
private final static Frame focusedFrame
private final static Frame focusedFrame

Returns the focused frame on the currently loaded web page, if any.

Link copied to clipboard
private final static List<Frame> frames
private final static List<Frame> frames

Returns all the frames on the currently loaded web page or an empty collection if the browser did not load any web pages.

Link copied to clipboard
private final static FullScreen fullScreen
private final static FullScreen fullScreen

Returns the service that controls the fullscreen mode.

Link copied to clipboard
private final static Frame mainFrame
private final static Frame mainFrame

Returns the main frame of the currently loaded web page, if any.

Link copied to clipboard
private final static Navigation navigation
private final static Navigation navigation

Returns Navigation of this Browser.

Link copied to clipboard
private final static Profile profile
private final static Profile profile

Returns the profile that the browser belongs to.

Link copied to clipboard
private final static RenderingMode renderingMode
private final static RenderingMode renderingMode

Returns a rendering mode of this Browser.

Link copied to clipboard
private final static BrowserSettings settings
private final static BrowserSettings settings

Returns settings that configure this Browser.

Link copied to clipboard
private final static Size size
private final static Size size

Returns the size of this Browser in the logical pixels.

Link copied to clipboard
private final static TextFinder textFinder
private final static TextFinder textFinder

Returns the service that allows searching text on a currently loaded web page.

Link copied to clipboard
private final static String title
private final static String title

Returns a string that represents the title of the currently loaded web page, or an empty string if the browser hasn't loaded any web page yet.

Link copied to clipboard
private final static String url
private final static String url

Returns a string that represents URL of the currently loaded web page, or an empty string if the browser hasn't loaded any web page yet.

Link copied to clipboard
private final static String userAgent
private final static String userAgent

Returns a string that represents the user-agent of this Browser.

Link copied to clipboard
private final static Zoom zoom
private final static Zoom zoom

Returns the service that allows zooming content of a currently loaded web page.

Functions

Link copied to clipboard
public final static Unit close(Browser $self, Boolean fireBeforeUnload)
public final static Unit close(Browser $self, Boolean fireBeforeUnload)

Closes the browser instance.

Link copied to clipboard
public final Audio getAudio()
public final Audio getAudio()
Link copied to clipboard
public final Bitmap getBitmap()
public final Bitmap getBitmap()
Link copied to clipboard
public final DevTools getDevTools()
public final DevTools getDevTools()
Link copied to clipboard
public final Display getDisplay()
public final Display getDisplay()
Link copied to clipboard
public final Engine getEngine()
public final Engine getEngine()
Link copied to clipboard
public final Bitmap getFavicon()
public final Bitmap getFavicon()
Link copied to clipboard
public final Frame getFocusedFrame()
public final Frame getFocusedFrame()
Link copied to clipboard
public final List<Frame> getFrames()
public final List<Frame> getFrames()
Link copied to clipboard
public final FullScreen getFullScreen()
public final FullScreen getFullScreen()
Link copied to clipboard
public final Frame getMainFrame()
public final Frame getMainFrame()
Link copied to clipboard
public final Navigation getNavigation()
public final Navigation getNavigation()
Link copied to clipboard
public final Profile getProfile()
public final Profile getProfile()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Size getSize()
public final Size getSize()
Link copied to clipboard
public final TextFinder getTextFinder()
public final TextFinder getTextFinder()
Link copied to clipboard
public final String getTitle()
public final String getTitle()
Link copied to clipboard
public final String getUrl()
public final String getUrl()
Link copied to clipboard
public final String getUserAgent()
public final String getUserAgent()
Link copied to clipboard
public final Zoom getZoom()
public final Zoom getZoom()