Home Cooker Classes Others Rice
Classes  >  browser
browser class

Description

Represents the browser used in the Cooker.

Notes

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

Please note that the instance obtained by variable declaration has already been initialized.

fitter

SignatureDescription
browser()

Get a new instance of browser class.

getter

SignatureDescription
CanGoBack

Gets a value indicating whether a previous page in navigation history is available.

CanGoForward

Gets a value indicating whether a subsequent page in navigation history is available.

EnabledNavigation

Gets a value indicating whether the browser is enabled to navigate.

EnabledPopup

Gets a value indicating whether a popup is enabled to display.

Fitted

Gets the value that indicates whether this instance was already initialized.

Height

Gets the height of the browser.

Left

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

Title

Get the title of the displayed page.

Top

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

TypeName

Gets the type name.

Url

Get the URL of the displayed page.

Width

Gets the width of the browser.

setter

SignatureDescription
EnabledNavigation(bool)

Sets a value indicating whether the browser is enabled to navigate.

EnabledPopup(bool)

Sets a value indicating whether a popup is enabled to display.

method

SignatureDescription
ClickLeft(int,int)

Simulates left click of the mouse.

ClickRight(int,int)

Simulates right click of the mouse.

GoBack()

Navigates back to previous page in the navigation history.

GoForward()

Navigates forward to next page in the navigation history.

LoadHtml(string)

Loads a html string directly to the browser.

LoadUrl(string)

Navigates the browser to specified url.

MouseMove(int,int)

Simulates mouse movement.

MouseWheel(int,int,int)

Simulates rotation of the mouse wheel.

Reload()

Reloads the page currently displayed in the browser.

event

SignatureDescription
BeforeNavigate(class,string)

Assigns a handler to the "BeforeNavigate" event.

LoadCompleted(class,string)

Assigns a handler to the "LoadCompleted" event.

Copyright © Rice All rights reserved.