WebBrowserVirtualUser PrepareRequest Method C# API
This method is called immediately before a Request object is sent to the web server.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.4.0.26 (1.0.0.0)
Syntax

public virtual void PrepareRequest(
	Request request
)

Parameters

request
Type: Facilita.Web Request
A request that is about to be sent to the web server.
Remarks

If Send  or SendTopLevel  is called within a Script() method, this method will be called before the top-level request is sent to the web server. The request parameter is a reference to the Request object on which Send() (or SendTopLevel()) was called. It can be modified prior to sending.

Override this method to modify every request (or a selection of requests based on criteria) before they are sent to the web server.

See Also