F.open()

  • function
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

  1. path {String}

    a full or partial url to open.

  2. success {function()}

  3. timeout {Number}

Returns

{undefined}