Public Vars

Back

new-window (clj)

(source)

function

(new-window driver window-type-hint)
Have `driver` create a new window. The `window-type-hint` parameter must be either `:tab` or `:window` and specifies the type of window that is desired, if supported by the browser. If successful, return a map with keys `:handle` indicating the new window handle and `:type` indicating the type of window that was actually created (either `:tab` or `:window`). https://www.w3.org/TR/webdriver2/#dfn-new-window

Examples