getUsername method

Class: ProxySettingsPlatform: ProtractorLanguage: JavaScript SDK:

The value returned by this method is the proxy username set when the object was created.


let value = proxySettings.getUsername();
value = proxySettings.username;

Note that this feature is available as both a method and a property.


This method does not take any parameters.

Return value

Type: string