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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

| | Linux | macOS | Windows |
| :--- | :---: | :---: | :---: |
| Chromium <!-- GEN:chromium-version -->137.0.7151.27<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| WebKit <!-- GEN:webkit-version -->18.4<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Firefox <!-- GEN:firefox-version -->137.0<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Chromium <!-- GEN:chromium-version -->138.0.7204.4<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| WebKit <!-- GEN:webkit-version -->18.5<!-- GEN:stop --> | ✅ | ✅ | ✅ |
| Firefox <!-- GEN:firefox-version -->139.0<!-- GEN:stop --> | ✅ | ✅ | ✅ |

Playwright for .NET is the official language port of [Playwright](https://playwright.dev), the library to automate [Chromium](https://www.chromium.org/Home), [Firefox](https://www.mozilla.org/en-US/firefox/new/) and [WebKit](https://webkit.org/) with a single API. Playwright is built to enable cross-browser web automation that is **ever-green**, **capable**, **reliable** and **fast**.

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.52.0</AssemblyVersion>
<PackageVersion>$(AssemblyVersion)</PackageVersion>
<DriverVersion>1.53.0-alpha-2025-05-21</DriverVersion>
<DriverVersion>1.53.0-beta-1749131401000</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.53.0-alpha-2025-05-21",
"@playwright/test": "1.53.0-beta-1749131401000",
"@types/node": "^22.12.0",
"fast-xml-parser": "^4.5.0"
}
Expand Down
38 changes: 19 additions & 19 deletions src/Playwright.TestingHarnessTest/tests/mstest/basic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test('should be able to forward DEBUG=pw:api env var', async ({ runTest }) => {

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -81,7 +81,7 @@ test('should be able to set the browser via the runsettings file', async ({ runT

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -120,7 +120,7 @@ test('should prioritize browser from env over the runsettings file', async ({ ru

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -161,7 +161,7 @@ test('should be able to make the browser headed via the env', async ({ runTest }

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -192,7 +192,7 @@ test('should be able to parse BrowserName and LaunchOptions.Headless from runset

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -233,7 +233,7 @@ test('should be able to parse LaunchOptions.Proxy from runsettings', async ({ ru

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -281,7 +281,7 @@ test('should be able to parse LaunchOptions.Args from runsettings', async ({ run

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -316,10 +316,10 @@ test('should be able to override context options', async ({ runTest }) => {
using Microsoft.Playwright;
using Microsoft.Playwright.MSTest;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -371,7 +371,7 @@ test('should be able to override launch options', async ({ runTest }) => {

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down Expand Up @@ -409,7 +409,7 @@ test.describe('Expect() timeout', () => {

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand All @@ -424,7 +424,7 @@ test.describe('Expect() timeout', () => {
expect(result.passed).toBe(0);
expect(result.failed).toBe(1);
expect(result.total).toBe(1);
expect(result.rawStdout).toContain("LocatorAssertions.ToHaveTextAsync with timeout 5000ms")
expect(result.rawStdout).toContain("Expect \"ToHaveTextAsync\" with timeout 5000ms")
});

test('should be able to override it via each Expect() call', async ({ runTest }) => {
Expand All @@ -434,10 +434,10 @@ test.describe('Expect() timeout', () => {
using System.Threading.Tasks;
using Microsoft.Playwright.MSTest;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Playwright.TestingHarnessTest.MSTest;
[TestClass]

[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand All @@ -452,7 +452,7 @@ test.describe('Expect() timeout', () => {
expect(result.passed).toBe(0);
expect(result.failed).toBe(1);
expect(result.total).toBe(1);
expect(result.rawStdout).toContain("LocatorAssertions.ToHaveTextAsync with timeout 100ms")
expect(result.rawStdout).toContain("Expect \"ToHaveTextAsync\" with timeout 100ms")
});
test('should be able to override it via the global settings', async ({ runTest }) => {
const result = await runTest({
Expand All @@ -464,7 +464,7 @@ test.describe('Expect() timeout', () => {

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand All @@ -487,7 +487,7 @@ test.describe('Expect() timeout', () => {
expect(result.passed).toBe(0);
expect(result.failed).toBe(1);
expect(result.total).toBe(1);
expect(result.rawStdout).toContain("LocatorAssertions.ToHaveTextAsync with timeout 123ms")
expect(result.rawStdout).toContain("Expect \"ToHaveTextAsync\" with timeout 123ms")
});
});

Expand All @@ -501,7 +501,7 @@ test.describe('ConnectOptions', () => {

namespace Playwright.TestingHarnessTest.MSTest;

[TestClass]
[TestClass]
public class <class-name> : PageTest
{
[TestMethod]
Expand Down
14 changes: 7 additions & 7 deletions src/Playwright.TestingHarnessTest/tests/nunit/basic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ test('should be able to override context options', async ({ runTest }) => {
using Microsoft.Playwright;
using Microsoft.Playwright.NUnit;
using NUnit.Framework;

namespace Playwright.TestingHarnessTest.NUnit;

public class <class-name> : PageTest
Expand Down Expand Up @@ -402,7 +402,7 @@ test.describe('Expect() timeout', () => {
using Microsoft.Playwright;
using Microsoft.Playwright.NUnit;
using NUnit.Framework;

namespace Playwright.TestingHarnessTest.NUnit;

public class <class-name> : PageTest
Expand All @@ -419,7 +419,7 @@ test.describe('Expect() timeout', () => {
expect(result.passed).toBe(0);
expect(result.failed).toBe(1);
expect(result.total).toBe(1);
expect(result.rawStdout).toContain("LocatorAssertions.ToHaveTextAsync with timeout 5000ms")
expect(result.rawStdout).toContain("Expect \"ToHaveTextAsync\" with timeout 5000ms")
});

test('should be able to override it via each Expect() call', async ({ runTest }) => {
Expand All @@ -431,7 +431,7 @@ test.describe('Expect() timeout', () => {
using Microsoft.Playwright;
using Microsoft.Playwright.NUnit;
using NUnit.Framework;

namespace Playwright.TestingHarnessTest.NUnit;

public class <class-name> : PageTest
Expand All @@ -448,7 +448,7 @@ test.describe('Expect() timeout', () => {
expect(result.passed).toBe(0);
expect(result.failed).toBe(1);
expect(result.total).toBe(1);
expect(result.rawStdout).toContain("LocatorAssertions.ToHaveTextAsync with timeout 100ms")
expect(result.rawStdout).toContain("Expect \"ToHaveTextAsync\" with timeout 100ms")
});
test('should be able to override it via the global config', async ({ runTest }) => {
const result = await runTest({
Expand All @@ -459,7 +459,7 @@ test.describe('Expect() timeout', () => {
using Microsoft.Playwright;
using Microsoft.Playwright.NUnit;
using NUnit.Framework;

namespace Playwright.TestingHarnessTest.NUnit;

public class <class-name> : PageTest
Expand All @@ -484,7 +484,7 @@ test.describe('Expect() timeout', () => {
expect(result.passed).toBe(0);
expect(result.failed).toBe(1);
expect(result.total).toBe(1);
expect(result.rawStdout).toContain("LocatorAssertions.ToHaveTextAsync with timeout 123ms")
expect(result.rawStdout).toContain("Expect \"ToHaveTextAsync\" with timeout 123ms")
});
});

Expand Down
Loading
Loading