setProxy (ip:port|optional: user,password) - change browser proxy

Use setProxy to send all Chrome or Firefox traffic through a proxy server. You can define specific proxy servers inside each macro. Each running browser can have its own proxy server as long as it is in a different user proxy. The proxy setting remains in effect until the macro stops. In the settings page you can also change this to keep the proxy active even after the macro stops. This is useful, for example, if you use the macro as part of a larger text case and the next macros should run via proxy as well. You find the proxy command settings on the Selenium tab in the UI.Vision settings.

If you change to a proxy server, the RPA icon turns red
If a proxy is active, the blue UI.Vision icon turns red.

Special commands:

setProxy | direct - disable the proxy

setProxy | default - uses the proxy that is configured in the proxy settings

Supported proxy formats:

http://, https:// - Web proxy server, including password authentication

socks4://, socks5:// - Socks proxy server*

We can not offer password support for socks proxy in Chrome yet, as Chrome itself does not support it yet..

setProxy Example

In this example we use a few different proxy types. And after each setProxy command we open a test page to check the new IP address. Please note that UI.Vision RPA is not related to, we just use this page in the macro to display the IP address and proxy server location in the browser.

Command Target Pattern/Text
setProxy testuser,secrectpassword
setProxy socks5://
setProxy direct

Works in

UI.Vision RPA Core for Chrome, UI.Vision RPA Core for Firefox

Related Demo Macros

(None yet)

See also

captureScreenshot, storeText, Web Automation Extension User Manual, Selenium IDE commands, Classic Firefox Selenium IDE.

Anything wrong or missing on this page? Suggestions?

...then please contact us.

<em>UI.Vision RPA</em> Selenium IDE for Chrome and Firefox - Web Test Automation
Subscribe to the UI Vision RPA software newsletter . We'll send you updates on new releases that we're working on.