Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->146.0.7680.31<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Chromium <!-- GEN:chromium-version -->147.0.7727.15<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| WebKit <!-- GEN:webkit-version -->26.0<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Firefox <!-- GEN:firefox-version -->148.0.2<!-- GEN:stop --> | ✅ | ✅ | ✅ |

Expand Down
2 changes: 1 addition & 1 deletion src/Common/Version.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<AssemblyVersion>1.58.0</AssemblyVersion>
<PackageVersion>$(AssemblyVersion)</PackageVersion>
<DriverVersion>1.59.0-alpha-2026-03-24</DriverVersion>
<DriverVersion>1.59.0-alpha-1774622285000</DriverVersion>
<ReleaseVersion>$(AssemblyVersion)</ReleaseVersion>
<FileVersion>$(AssemblyVersion)</FileVersion>
<NoDefaultExcludes>true</NoDefaultExcludes>
Expand Down
46 changes: 23 additions & 23 deletions src/Playwright.TestingHarnessTest/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Playwright.TestingHarnessTest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "playwright.testingharnesstest",
"private": true,
"devDependencies": {
"@playwright/test": "1.59.0-alpha-2026-03-24",
"@playwright/test": "1.59.0-alpha-1774622285000",
"@types/node": "^22.12.0",
"fast-xml-parser": "^4.5.0"
}
Expand Down
101 changes: 0 additions & 101 deletions src/Playwright.Tests/PageEventCrashTests.cs

This file was deleted.

43 changes: 43 additions & 0 deletions src/Playwright/API/Generated/Enums/AnnotatePosition.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

using System.Runtime.Serialization;

namespace Microsoft.Playwright;

public enum AnnotatePosition
{
[EnumMember(Value = "top-left")]
TopLeft,
[EnumMember(Value = "top")]
Top,
[EnumMember(Value = "top-right")]
TopRight,
[EnumMember(Value = "bottom-left")]
BottomLeft,
[EnumMember(Value = "bottom")]
Bottom,
[EnumMember(Value = "bottom-right")]
BottomRight,
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ public enum ConsoleMessagesFilter
{
[EnumMember(Value = "all")]
All,
[EnumMember(Value = "sinceNavigation")]
[EnumMember(Value = "since-navigation")]
SinceNavigation,
}
11 changes: 5 additions & 6 deletions src/Playwright/API/Generated/IDebugger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Microsoft.Playwright;
Expand All @@ -41,11 +40,11 @@ public partial interface IDebugger

/// <summary>
/// <para>
/// Returns details about the currently paused calls. Returns an empty array if the
/// debugger is not paused.
/// Returns details about the currently paused call. Returns <c>null</c> if the debugger
/// is not paused.
/// </para>
/// </summary>
IReadOnlyList<PausedDetail> PausedDetails { get; }
PausedDetail? PausedDetails { get; }

/// <summary>
/// <para>Configures the debugger to pause before the next action is executed.</para>
Expand All @@ -55,12 +54,12 @@ public partial interface IDebugger
/// </para>
/// <para>
/// Note that <see cref="IPage.PauseAsync"/> is equivalent to a "debugger" statement
/// — it pauses execution at the call site immediately. On the contrary, <see cref="IDebugger.PauseAsync"/>
/// — it pauses execution at the call site immediately. On the contrary, <see cref="IDebugger.RequestPauseAsync"/>
/// is equivalent to "pause on next statement" — it configures the debugger to pause
/// before the next action is executed.
/// </para>
/// </summary>
Task PauseAsync();
Task RequestPauseAsync();

/// <summary><para>Resumes script execution. Throws if the debugger is not paused.</para></summary>
Task ResumeAsync();
Expand Down
11 changes: 11 additions & 0 deletions src/Playwright/API/Generated/ILocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ public partial interface ILocator
/// <item><description>Generic static text can be represented with the <c>text</c> key.</description></item>
/// </list>
/// <para>Below is the HTML markup and the respective ARIA snapshot:</para>
/// <para>
/// An AI-optimized snapshot, controlled by <see cref="ILocator.AriaSnapshotAsync"/>,
/// is different from a default snapshot:
/// </para>
/// <list type="ordinal">
/// <item><description>
/// Includes element references <c>[ref=e2]</c>. 2. Does not wait for an element matching
/// the locator, and throws when no elements match. 3. Includes snapshots of <c>&lt;iframe&gt;</c>s
/// inside the target.
/// </description></item>
/// </list>
/// </summary>
/// <param name="options">Call options</param>
Task<string> AriaSnapshotAsync(LocatorAriaSnapshotOptions? options = default);
Expand Down
62 changes: 62 additions & 0 deletions src/Playwright/API/Generated/IOverlay.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* MIT License
*
* Copyright (c) Microsoft Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

using System;
using System.Threading.Tasks;

namespace Microsoft.Playwright;

/// <summary>
/// <para>
/// Interface for managing page overlays that display persistent visual indicators on
/// top of the page.
/// </para>
/// </summary>
public partial interface IOverlay
{
/// <summary>
/// <para>
/// Adds an overlay with the given HTML content. The overlay is displayed on top of
/// the page until removed. Returns a disposable that removes the overlay when disposed.
/// </para>
/// </summary>
/// <param name="html">HTML content for the overlay.</param>
/// <param name="options">Call options</param>
Task<IAsyncDisposable> ShowAsync(string html, OverlayShowOptions? options = default);

/// <summary>
/// <para>
/// Shows a chapter overlay with a title and optional description, centered on the page
/// with a blurred backdrop. Useful for narrating video recordings. The overlay is removed
/// after the specified duration, or 2000ms.
/// </para>
/// </summary>
/// <param name="title">Title text displayed prominently in the overlay.</param>
/// <param name="options">Call options</param>
Task ChapterAsync(string title, OverlayChapterOptions? options = default);

/// <summary><para>Sets visibility of all overlays without removing them.</para></summary>
/// <param name="visible">Whether overlays should be visible.</param>
Task SetVisibleAsync(bool visible);
}
Loading
Loading