Share this page

# web.setPac

Proxy Server Functions

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

## Syntax

                web.setPac( pacUrl );

Argument | Description
--- | ---
pacUrl | The 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");

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: