setProxy method

Class: BatchClosePlatform: NightwatchLanguage: JavaScript SDK:

Use this method to provide the URL, username, and password of a Proxy server that the SDK can use to access the Eyes server.

Syntax

let value = obj.setProxy(proxy);

Parameters

proxy
Type:ProxySettingsPlain
An object that defines how to interact with the proxy server. ProxySettingsPlain

Return value

Type: BatchClose