maqs-dotnet
maqs-dotnet copied to clipboard
Bump Microsoft.Playwright from 1.21.0 to 1.27.0 in /Framework
Bumps Microsoft.Playwright from 1.21.0 to 1.27.0.
Release notes
Sourced from Microsoft.Playwright's releases.
v1.27.0
Highlights
Locators
With these new APIs writing locators is a joy:
- Page.GetByText(text, options) to locate by text content.
- Page.GetByRole(role, options) to locate by ARIA role, ARIA attributes and accessible name.
- Page.GetByLabel(text, options) to locate a form control by associated label's text.
- Page.GetByPlaceholder(text, options) to locate an input by placeholder.
- Page.GetByAltText(text, options)e to locate an element, usually image, by its text alternative.
- Page.GetByTitle(text, options) to locate an element by its title.
await Page.GetByLabel("User Name").FillAsync("John");await Page.GetByLabel("Password").FillAsync("secret-password");
await Page.GetByRole("button", new() { Name = "Sign in" }).ClickAsync();
await Expect(Page.GetByText("Welcome, John!")).ToBeVisibleAsync();
All the same methods are also available on Locator, FrameLocator and Frame classes.
Other highlights
- As announced in v1.25, Ubuntu 18 will not be supported as of Dec 2022. In addition to that, there will be no WebKit updates on Ubuntu 18 starting from the next Playwright release.
Behavior Changes
Expect(Locator).ToHaveAttributeAsync(name, value, options) with an empty value does not match missing attribute anymore. For example, the following snippet will succeed when
buttondoes not have adisabledattribute.await Expect(page.GetByRole("button")).ToHaveAttribute("disabled", "");Browser Versions
- Chromium 107.0.5304.18
- Mozilla Firefox 105.0.1
- WebKit 16.0
This version was also tested against the following stable channels:
- Google Chrome 106
- Microsoft Edge 106
v1.26.0
Highlights
... (truncated)
Commits
c5ec268chore(roll): roll Playwright to 1.27 (#2341)b0cd820chore: mark 1.27 (#2340)9ecd676chore(roll): roll Playwright to 1.27.0-beta-1665163211000 (#2339)90efa3dchore(roll): roll Playwright to 1.28.0-alpha-oct-6-2022 (#2337)cbefe7achore: remove unused imports in generated files (#2338)f4be783test: use Usings.cs for tests / ImplicitUsings (#2330)b1b2593chore: commit automated VS changes (#2326)a5fa0f7chore: mark 1.26 (#2324)c220c51chore(roll): roll Playwright to 1.26.0-beta-1663620933000 (#2321)038be84chore: make retry attributes internal (#2315)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
The following labels could not be found: dependencies, dependabot.
A newer version of Microsoft.Playwright exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.