A proxy that represents a browser object for the AspNetHost inproc web server.
Syntax| C# |
public class AspNetHostBrowser : Browser
Members| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
![]() | Actions |
Gets the Actions object that can be used to perform different actions against the loaded document in the browser.
(Inherited from Browser.) |
![]() | AfterCommandExecuted |
Event occurs after the command is executed and the response is available.
(Inherited from Browser.) |
![]() | Annotator |
Gets the Annotator object associated with this browser.
(Inherited from Browser.) |
![]() | AspNetAppInstance |
The AspNetApplication instance that all requests are running against.
|
![]() | AutoDomRefresh |
Gets/Sets whether to automatically refresh the DOM tree after each browser command.
(Inherited from Browser.) |
![]() | AutoWaitUntilReady |
Gets/Sets whether to automatically wait until browser is ready after each browser command.
(Inherited from Browser.) |
![]() | BeforeCommandExecuted |
Event occurs before a command is pushed to the browser.
(Inherited from Browser.) |
![]() | BrowserType |
Gets the browser type (i.e. IE/FireFox ...etc)
(Inherited from Browser.) |
![]() | ClientId |
The unique ID for this browser that the manager identifies it with.
(Inherited from Browser.) |
![]() | Close(Int32) |
Close this browser.
(Overrides Browser.Close(Int32).) |
![]() | CommandTimeOut |
Gets/Sets the max wait time in milliseconds that the
browser will wait for a command to process
before it times out.
(Inherited from Browser.) |
![]() | ContainsPoint(Point) |
True/False whether a specific point falls within this browser/frame rendering region
(Inherited from Browser.) |
![]() | ContainsRectangle(Rectangle) |
Unsupported - Browser is window-less.
(Overrides Browser.ContainsRectangle(Rectangle).) |
![]() | ContainsText(String) |
True/False whether the 'text' is contained within the page currently loaded. Not case sensitive.
(Inherited from Browser.) |
![]() | ContentWindow |
Unsupported - Browser is window-less. This will throw an UnsupportedBrowserOperation exception.
(Overrides Browser.ContentWindow.) |
![]() | Cookies |
Gets the cookies manager associated with this browser that allows you
to retrieve, delete and add cookies.
(Inherited from Browser.) |
![]() | DomHashCode |
Gets the current DOM hash code
(Inherited from Browser.) |
![]() | DomRefreshed |
Event occurs after the DomTree is rebuilt (either after a command is executed or when RefreshDom is called)
(Inherited from Browser.) |
![]() | DomTree |
Gets the DOM Tree representation of the currently loaded document.
(Inherited from Browser.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecuteCommand(BrowserCommand) |
Executes a command against this browser instance.
(Inherited from Browser.) |
![]() | ExecuteCommand(BrowserCommand, Boolean, Boolean) |
Unsupported - All commands are executed in-proc.
(Overrides Browser.ExecuteCommand(BrowserCommand, Boolean, Boolean).) |
![]() | Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | Find |
Gets the Find objects used to provide a rich set of methods to help identify elements in
the Dom tree associated with this browser object.
(Inherited from Browser.) |
![]() | FrameInfo |
Gets the frame information if IsFrame = true else will return null.
FrameInfo contains frame index and frame name.
(Inherited from Browser.) |
![]() | Frames |
List of child frames contained in this instance
(Inherited from Browser.) |
![]() | GetForm() |
Get the AspNetForm object.
|
![]() | GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetSelectedText() |
Gets the text currently selected by the user in the browser window
(Inherited from Browser.) |
![]() | GetType() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GoBack() |
N/A - Call returns immediately.
(Overrides Browser.GoBack().) |
![]() | GoForward() |
N/A - Call returns immediately.
(Overrides Browser.GoForward().) |
![]() | IsConnected |
Whether the AspNetApplication is running and the host is registered.
(Overrides Browser.IsConnected.) |
![]() | IsFrame |
Gets whether this instance represents a frame or not.
(Inherited from Browser.) |
![]() | IsIEDialog |
Gets whether this instance is an IE dialog (Modal/Modeless)
(Inherited from Browser.) |
![]() | IsReady() |
Always returns true for this browser.
(Overrides Browser.IsReady().) |
![]() | IsUILess |
Whether this browser is UI less browser. (i.e. a raw http request/response browser)
(Inherited from Browser.) |
![]() | Manager |
The manager of this browser object.
(Inherited from Browser.) |
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | NativeInstance |
The native instance of this browser object (if available), otherwise null
(Inherited from Browser.) |
![]() | NavigateTo(String) |
Navigate the browser to a specific url and then enable the script logging.
(Inherited from Browser.) |
![]() | NavigateTo(Uri) |
Navigate to a certain relative Url.
(Overrides Browser.NavigateTo(Uri).) |
![]() | PageTitle |
Gets the page title if one exists. (text content of the 'title' tags)
(Inherited from Browser.) |
![]() | PerformCustomPostAction(AspNetForm) |
Performs a post action to the server as defined by the form passed in.
|
![]() | PrepareFrameForClosing() |
Used to disable the AutoRefreshDom and WaitUntilReady of a frame preparing it to be
closed on next action and no longer polled by the framework.
(Inherited from Browser.) |
![]() | QueryString |
Gets a parsed name/value collection of the query string.
(Inherited from Browser.) |
![]() | Refresh() |
N/A - Call returns immediately.
(Overrides Browser.Refresh().) |
![]() | RefreshDomTree() |
Refresh the DomTree.
(Overrides Browser.RefreshDomTree().) |
![]() | Regions |
Gets a dictionary of all identified test regions in the currently loaded document.
(Inherited from Browser.) |
![]() | ScrollBy(Int32, Int32) |
Unsupported - Browser is window-less.
(Overrides Browser.ScrollBy(Int32, Int32).) |
![]() | Status |
The response status code as of last response.
|
![]() | Stop() |
N/A - Call returns immediately.
(Overrides Browser.Stop().) |
![]() | ToString() | (Inherited from Object.) |
![]() | UpdateDomTree(String) |
Parse and update the DomTree
(Inherited from Browser.) |
![]() | Url |
Gets the current page URL. This property is refreshed when calling RefreshDOMTree().
(Inherited from Browser.) |
![]() | Version |
The browser version for this browser type.
(Inherited from Browser.) |
![]() | ViewSourceString |
Gets the source of the page currently loaded in the browser.
This is the string that the framework used to build the DOM.
(Inherited from Browser.) |
![]() | WaitForUrl(String, Boolean, Int32) |
Wait for a specific url to be set. This can be used to wait for browser redirects
on certain sites.
(Inherited from Browser.) |
![]() | WaitUntilReady() |
N/A - Call returns immediately.
(Overrides Browser.WaitUntilReady().) |
![]() | Window |
Unsupported - Browser is window-less.
(Overrides Browser.Window.) |
Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)





