ProxySettings class

Platform: Selenium 4Language: JavaScript SDK:
An object used to set and retrieve the details of the proxy server used to interact with the Eyes server.
To set a proxy server, create an object of this type and pass it to the setProxy method.

Require statement

const {ProxySettings} = require('@applitools/eyes-selenium');
	

Constructor

ProxySettings()
This is the constructor for the ProxySettings class.

Methods

getIsDisabled()
The value returned by this method is true if there is no proxy server.
getIsHttpOnly()
The value returned by this method is whether the proxy has been defines as Is HTTP only
getPassword()
The value returned by this method is the proxy password set when the object was created.
getUri()
The value returned by this method is the proxy URI set when the object was created.
getUsername()
The value returned by this method is the proxy username set when the object was created.