Selenium.WebDriver by Selenium Committers

<PackageReference Include="Selenium.WebDriver" Version="4.16.1" />

.NET API 4,321,792 bytes

 EncodedFile

public abstract class EncodedFile
Represents a file transmitted over the wire as a base64-encoded string.
public string AsBase64EncodedString { get; }

Gets the value of the encoded file as a Base64-encoded string.

public byte[] AsByteArray { get; }

Gets the value of the encoded file as an array of bytes.

protected EncodedFile(string base64EncodedFile)

Initializes a new instance of the EncodedFile class.

public abstract void SaveAsFile(string fileName)

Saves the file, overwriting it if it already exists.