The information in this topic may be out of date. The current SDK reference guide has moved here.

getUsername method

Class: ProxySettingsPlatform: Selenium 4Language: 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