This documentation is archived and is not being maintained.

WebTestRequest.FollowRedirects Property

Gets or sets a value that indicates whether to automatically follow redirects.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public bool FollowRedirects { get; set; }

Property Value

Type: System.Boolean
true if redirects are followed; otherwise, false. The default is true.

Show: