Browser - IE macro object

This IE macro object represents an Internet Explorer instance.
It provides web macro methods for searching Element and Frame web automation objects inside the web page DOM hierarchy, and for automating various browser actions (navigate, close, show/hide browser window).

  var browserObj = coreObj.FindBrowser(Search conditions);
  var browserObj = coreObj.FindAllBrowsers(Search conditions)(index);
  var browserObj = coreObj.AttachToNativeBrowser(native browser);
  var browserObj = frameObj.parentBrowser;
  var browserObj = elementObj.parentBrowser;
Methods
Close Closes the Internet Explorer instance represented by the browser object.
ClosePopup Closes a window.alert or a window.confirm popup window in Internet Explorer.
ClosePrompt Closes a window.prompt popup window in Internet Explorer.
FindAllElements Searches in the current browser, the collection of all HTML elements that verify a list of search conditions.
FindAllFrames Searches in the current browser, the collection of all HTML frame and iframe objects that verify a list of search conditions.
FindElement Searches in the current browser, an HTML element that verifies a list of search conditions.
FindFrame Searches in the current browser, a HTML frame or iframe that verifies a list of search conditions.
FindModalHtmlDialog Searches a Frame object in the current browser corresponding to a HTML modal dialog box.
FindModelessHtmlDialog Searches a Frame object corresponding to a modeless HTML dialog box that verifies a list of search conditions.
Navigate Navigates the browser to a given URL.
OpenNewTab Opens a new Internet Explorer tab window and returns a Browser web macro object connected to it.
ShowBrowserWindow Shows, hides, maximizes, minimizes, restores or puts in foreground the browser window.
WaitToLoad Waits the browser to load and check it against a list of search conditions.
Properties
activeTab Retrieves a Browser object corresponding to the active tab inside a top level IE frame.
core Returns a reference to the parent Core IE macro object of the browser.
ieWindow Returns the handle for Inernet Explorer_Server window of the Internet Explorer instance represented by the current Browser web macro object.
isLoading Returns a boolean value indicating whether the browser is engaged in a navigation operation.
isTabActive Returns a boolean value indicating whether the current tab is active or not.
nativeBrowser Returns a native Internet Explorer browser object ( IWebBrowser2 ).
navigationError Returns the browser navigation error code.
processId Returns the process ID of the Internet Explorer instance represented by the Browser object.
tabList Returns a BrowserList web automation object corresponding to all tabs windows inside the same IEFrame top level browser window.
tabWindow Returns the handle for TabWindowClass window of the Internet Explorer 7 instance represented by the current Browser web macro object.
threadId Returns the thread ID of the Internet Explorer window represented by the Browser IE macro object.
title Returns the title of the web page.
topFrame Returns a reference to the top Frame IE macro object.
topWindow Returns the handle for IEFrame top window of the Internet Explorer 7 instance represented by the current Browser IE macro object.
url Returns the URL for the current HTML document.
Constants
SHOW_IN_FOREGROUND Used by ShowBrowserWindow to bring the browser window in foreground. Not available in Open Twebst edition!
SHOW_HIDE Used by ShowBrowserWindow to hide the browser window. Not available in Open Twebst edition!
SHOW_MAXIMIZE Used by ShowBrowserWindow to maximize the browser window. Not available in Open Twebst edition!
SHOW_MINIMIZE Used by ShowBrowserWindow to minimize the browser window. Not available in Open Twebst edition!
SHOW_RESTORE Used by ShowBrowserWindow to restore the browser window. Not available in Open Twebst edition!
SHOW_VISIBLE Used by ShowBrowserWindow to make the browser window visible. Not available in Open Twebst edition!
See also:
Core | BrowserList | Element | ElementList | Frame | FrameList

© 2014 CodeCentrix Software. All rights reserved.