F.open()
FuncUnit.open
open(path, success, timeout)
Opens a page. It will error if the page can't be opened before timeout. If a URL begins with "//", pages are opened from the FuncUnit root (the root folder where funcunit is located)
Example
F.open("//app/app.html")
Parameters
-
path
{String}
a full or partial url to open.
-
success
{function()}
-
timeout
{Number}