-
Notifications
You must be signed in to change notification settings - Fork 7
Browser
-
- options Object which stores browser config options, mainly jsdom specific.
- dom The JSDOM object. The remote end-node.
- knownElements A list which stores known WebElements
-
-
configureBrowser(options, url) creates and configures JSDOM object based on the options object and string url provided. Creates an empty JSDOM object if no url is provided.
-
configureJSDOMOptions(capabilities) - configures JSDOM specific options. Returns a JSDOM options object used by configureBrowser
-
getTitle() Returns the jsdom DOM object's title property
-
getURL() Returns the jdom DOM object's url property
-
addCookie(cookie) Accepts and validates a cookie string. Creates a tough cookie and stores it in the jsdom object's cookie jar.
-
getCookies() Returns all cookies stored in the jsdom cookie jar
-
getKnownElement(id) Searches for a known element identified by parameter id. Throws if element not found
-
close() class the jsdom close method terminating all timers created within a jsdom script.
-