You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation methods for ToHaveTitle and ToHaveURL in page assertions is incomplete. This is the code snippet for what we have now; await Expect(Page).ToHaveTitle("Playwright"); await Expect(Page).ToHaveURL(new Regex(".*checkout"));
It should be updated to; await Expect(Page).ToHaveTitleAsync("Playwright"); await Expect(Page).ToHaveURLAsync(new Regex(".*checkout"));
The text was updated successfully, but these errors were encountered:
Page(s)
page_assertions
Description
The documentation methods for ToHaveTitle and ToHaveURL in page assertions is incomplete. This is the code snippet for what we have now;
await Expect(Page).ToHaveTitle("Playwright");
await Expect(Page).ToHaveURL(new Regex(".*checkout"));
It should be updated to;
await Expect(Page).ToHaveTitleAsync("Playwright");
await Expect(Page).ToHaveURLAsync(new Regex(".*checkout"));
The text was updated successfully, but these errors were encountered: