web.setPac

Sets the location of the proxy auto-configuration (PAC) script.

Syntax

            
            web.setPac( pacUrl );
Argument Description
pacUrlThe URL of the proxy auto-configuration file. Do not use a local path-name.

Return Values

Not applicable

Parameterization

All input arguments can be parameterized using standard parameterization.

General Information

Proxy servers returned by PAC script evaluation may require authentication. Credentials set in the Runtime Settings are ignored for these proxies.

Supply any required credentials for the proxy servers defined in the PAC with web.setUser steps. Add a setUser step for each proxy server that will be accessed. Place the setUser calls before the web.setPac step.

To submit HTTP requests without using the PAC, pass an empty string: web.setPac ( "" ).  

Example

web.setPac( "http://myhost/pacfile.js");