We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd50e28 commit b778ad5Copy full SHA for b778ad5
dotnet/src/webdriver/BiDi/Modules/BrowsingContext/CaptureScreenshotCommand.cs
@@ -45,8 +45,5 @@ public record ElementClipRectangle(Script.SharedReference Element) : ClipRectang
45
46
public record CaptureScreenshotResult(string Data)
47
{
48
- public byte[] AsBytes()
49
- {
50
- return System.Convert.FromBase64String(Data);
51
- }
+ public byte[] ToByteArray() => System.Convert.FromBase64String(Data);
52
}
0 commit comments