DownloadBehavior
Namespace: PuppeteerSharp
public class DownloadBehaviorBehavior definition for when downloading a file.
Inheritance: object
Properties
Section titled “Properties”DownloadPath
Section titled “DownloadPath”public string DownloadPath { get; set; }The default path to save downloaded files to.
Value: string
Setting this is required if Policy is set to Allow or AllowAndName.
Policy
Section titled “Policy”public DownloadPolicy Policy { get; set; }Whether to allow all or deny all download requests, or use default behavior if available.
Value: DownloadPolicy
Setting this to AllowAndName will name all files according to their download GUIDs.
Made with love by Dario Kondratiuk