Web.LoadURL

Web.LoadURL ( 

string ObjectName,

string URL )

Description

Loads a local file or web-based URL into a web object.

Note: You cannot load a file or URL into a disabled web object. You must enable the object before loading the URL using the Web.SetEnabled action.

Note: If you want to use a named anchor on a relative path, it will fail. You must use the full path in order for this to work. For example, the following will not work:
Web.LoadURL("Web1", "AutoPlay\\Docs\\index.html#news");

It must be specified as:
Web.LoadURL("Web1", _SourceFolder.."\\AutoPlay\\Docs\\index.html#news");

Parameters

ObjectName

(string) The name of the web object.

URL

(string) The URL for the web page, or the path to the local file. Click the browse button ( ) to select a file.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

Availability

Standard

Pro

 

See also:  Related Actions