Skip Navigation LinksHome Page > Forums > Rapise Forums > Rapise Issues & Questions > What functions are suppor...
/** * Returns HTMLObject wrapping DOM element for a given 'xpath'. HTMLObject is a * {SeSObject} constructed by matching one of browser rules: {@link IEHTMLObject}, {@link MozillaHTMLObject}, etc. * @param xpath location path of a DOM element. * @param [url] URL. If new navigator is launched, the URL is used. * @param title * @param objInfo * @returns HTMLObject wrapping DOM element for a given 'xpath', 'null' if 'xpath' is invalid. */Navigator.Find = function(/**String*/ xpath, /**String*/ url, /**String*/ title, /**SeSObjectInfo*/objInfo) /**SeSObject*/
/** * Executes given JavaScript statement in a browser and returns results. * @param scriptText JavaScript code. * @returns */Navigator.ExecJS = function(/**String*/ scriptText)
/** * Opens a browser. If URL is specified, goes to URL. * @param url start URL for opening browser. Can be 'null'. */Navigator.Open = function(/**String*/ url)
/** * Closes browser. Finishes session. * @param url */Navigator.Close = function(url)
/** * Redirects browser to a specified URL. * @param url URL to navigate. */Navigator.Navigate = function(/**String*/ url)
/** * Waits until browser alert with a given text. Wait timeout is 10 seconds. * @param msg alert text. Can be exact text or regular expression, * see 'exp' parameter of {@link checkCompare} function for more details. * @returns 'true' if browser alert had occurred, 'false' otherwise. */Navigator.DoCheckAlert = function(msg) /**Boolean*/
/** * Waits until browser confirmation with a given text. Wait timeout is 10 seconds. * @param msg confirmation text. Can be exact text or regular expression, * see 'exp' parameter of {@link checkCompare} function for more details. * @returns 'true' if browser confirmation popup is shown, 'false' otherwise. */Navigator.DoCheckConfirmation = function(msg, result) /**Boolean*/
/** * Set text to return as a result of next browser 'prompt' request */Navigator.DoSetExpectedPromptResult = function(expectedRes)
/** * Set boolean value to return as a result of next browser 'confirm' request */Navigator.DoSetExpectedConfirmResult = function(expectedRes)
/** * Waits until browser prompt with a given text. Wait timeout is 10 seconds. * @param msg prompt text. Can be exact text or regular expression, * see 'exp' parameter of {@link checkCompare} function for more details. * @returns 'true' if browser prompt popup is shown, 'false' otherwise. */Navigator.DoCheckPrompt = function(msg, result) /**Boolean*/
And if you have any questions, please email or call us at +1 (202) 558-6885