-
Initializer.
Declaration
Swift
public init(path: String, assertionName: String? = nil)
Parameters
path
The address of the page to load, as you would type into the browser address bar.
assertionName
Name of JavaScript function that checks whether the page loaded correctly.
-
Declaration
Swift
public func run(with browser: Browser, model: JSON, completion: @escaping StepCompletionCallback)