browser class : LoadUrl(string) method

Description

Moves to the specified URL.

Syntax

instance.LoadUrl(string url)

Arguments

ClassNameDescription
stringurlURL

Return value

None.

Sample code

1:

browser b; // Main-browser

2:

string url = "https://example.com/";

3:

b.LoadUrl(url); // Asynchronous loading.

Notes

The moving does asynchronous. That is, the method exits without waiting for the moving to complete.

Events related to page navigation occur.

Links for reference

None.

Copyright © Cooker All rights reserved.