BrowserSetProxyBypass

Action

Sets the names of hosts that are not be accessed through a proxy.
Note: This function only works with Internet Explorer.

Include file

BrowserAPI

Syntax

BrowserSetProxyBypass( in bBypassLocal : boolean,
                       in sBypassList  : string optional ): boolean;
Parameter Description
bBypassLocal If this parameter is set to true, the browser-driven functions bypass proxies to hosts that do not contain a period in their names.
sBypassList Optional: List of host names or IP addresses, or both, that should not be routed through the proxy. The host names are separated by semicolons (;). The list can contain wildcards. Specify an empty string ("") to clear the list.

Return value

  • true if successful

  • false otherwise

Example

transaction TMain
begin
  BrowserStart(BROWSER_MODE_DEFAULT, 800, 600);
  BrowserSetProxy(BROWSER_PROXY_HTTP, "proxy.mydomain.com", 8080);  
  BrowserSetProxyBypass(false, "www.mycompany.com");  
  BrowserNavigate("www.mycompany.com");
end TMain;