browser class

Description

Represents the browser used in the Cooker.

Notes

It is a class that is statically included in the Cooker.

An instance returned by variable declaration has been initialized with the Main-browser.

Cooker has two browsers, Main-browser and Sub-browser. The instances that represent each browser are all the same. That is, a singleton instance as the Main-browser and a singleton instance as the Sub-browser.

fitter

SignatureDescription
browser()

Returns a new instance of browser class.

getter

SignatureDescription
AddressBar

Whether the address bar is visible.

CanExecute

Whether the new script is executable.

CanGoBack

Whether can go back the previous page.

CanGoForward

Whether can go forward the next page.

Direction

Whether handles a navigation on browser own.

EnableNavigation

Whether the browser is enabled to navigate.

EnablePopup

Whether a popup is enabled to display.

Fitted

Whether an instance was initialized.

Height

The height of the browser.

IsMain

Whether it is the Main-browser.

IsMuted

Whether audio output is muted.

JSExecutor

Returns the jsexecutor.

Left

The position of the browser's left edge on the desktop screen.

LoadImages

Whether to load the image.

Title

The title of the displayed page.

Top

The position of the browser's top edge on the desktop screen.

TypeName

The type name.

Url

The URL of the displayed page.

UserAgent

The user agent.

Width

The width of the browser.

setter

SignatureDescription
AddressBar(bool)

Sets whether the address bar is visible.

CanExecute(bool)

Sets whether the new script is executable.

Direction(bool)

Sets whether handles a navigation on browser own.

EnableNavigation(bool)

Sets whether the browser is enabled to navigate.

EnablePopup(bool)

Sets whether a popup is enabled to display.

Height(int)

Sets the height of the browser.

Height(real)

Sets the height of the browser.

IsMuted(bool)

Sets whether audio output is muted.

Left(int)

Sets the position of the browser's left edge on the desktop screen.

Left(real)

Sets the position of the browser's left edge on the desktop screen.

LoadImages(bool)

Sets whether to load the image.

Top(int)

Sets the position of the browser's top edge on the desktop screen.

Top(real)

Sets the position of the browser's top edge on the desktop screen.

UserAgent

Sets the user agent.

Width(int)

Sets the width of the browser.

Width(real)

Sets the width of the browser.

method

SignatureDescription
Capture()

Captures the browser screen.

GoBack()

Navigates back to previous page in the navigation history.

GoBack(bool)

Navigates back to previous page in the navigation history.

GoForward()

Navigates forward to next page in the navigation history.

GoForward(bool)

Navigates forward to next page in the navigation history.

LoadHtml(string)

Loads the HTML string into the browser.

LoadHtml(string,bool)

Loads the HTML string into the browser.

LoadUrl(string)

Moves to the specified URL.

LoadUrl(string,bool)

Moves to the specified URL.

PointFromScreen(real,real)

Converts screen coordinates to client coordinates.

PointToScreen(real,real)

Converts client coordinates to screen coordinates.

Reload()

Reloads the page.

Reload(bool)

Reloads the page.

event

SignatureDescription
LoadCompleted(class,string)

Assigns a handler to the "LoadCompleted" event.

LoadStart(class,string)

Assigns a handler to the "LoadStart" event.

Copyright © Cooker All rights reserved.