getPort method

Class: ProxySettingsPlatform: Selenium 3Language: Java SDK:

Returns the proxy port set when the object was created.

Syntax


int value = proxySettings.getPort();

Parameters

This method does not take any parameters.

Return value

Type: int