Skip to content

Commit 6b842e0

Browse files
authored
chore: roll driver, support new hasAttribute(name) (microsoft#1041)
1 parent 3216734 commit 6b842e0

16 files changed

Lines changed: 210 additions & 168 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ Playwright is a Java library to automate [Chromium](https://www.chromium.org/Hom
1111

1212
| | Linux | macOS | Windows |
1313
| :--- | :---: | :---: | :---: |
14-
| Chromium <!-- GEN:chromium-version -->105.0.5195.28<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
14+
| Chromium <!-- GEN:chromium-version -->105.0.5195.52<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1515
| WebKit <!-- GEN:webkit-version -->16.0<!-- GEN:stop --> ||||
16-
| Firefox <!-- GEN:firefox-version -->103.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
16+
| Firefox <!-- GEN:firefox-version -->104.0<!-- GEN:stop --> | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1717

1818
Headless execution is supported for all the browsers on all platforms. Check out [system requirements](https://playwright.dev/java/docs/next/intro/#system-requirements) for details.
1919

playwright/src/main/java/com/microsoft/playwright/Browser.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ class NewContextOptions {
9595
/**
9696
* Emulates {@code "forced-colors"} media feature, supported values are {@code "active"}, {@code "none"}. See {@link Page#emulateMedia
9797
* Page.emulateMedia()} for more details. Defaults to {@code "none"}.
98-
*
99-
* <p> <strong>NOTE:</strong> It's not supported in WebKit, see <a href="https://bugs.webkit.org/show_bug.cgi?id=225281">here</a> in their issue
100-
* tracker.
10198
*/
10299
public ForcedColors forcedColors;
103100
public Geolocation geolocation;
@@ -284,9 +281,6 @@ public NewContextOptions setExtraHTTPHeaders(Map<String, String> extraHTTPHeader
284281
/**
285282
* Emulates {@code "forced-colors"} media feature, supported values are {@code "active"}, {@code "none"}. See {@link Page#emulateMedia
286283
* Page.emulateMedia()} for more details. Defaults to {@code "none"}.
287-
*
288-
* <p> <strong>NOTE:</strong> It's not supported in WebKit, see <a href="https://bugs.webkit.org/show_bug.cgi?id=225281">here</a> in their issue
289-
* tracker.
290284
*/
291285
public NewContextOptions setForcedColors(ForcedColors forcedColors) {
292286
this.forcedColors = forcedColors;
@@ -581,9 +575,6 @@ class NewPageOptions {
581575
/**
582576
* Emulates {@code "forced-colors"} media feature, supported values are {@code "active"}, {@code "none"}. See {@link Page#emulateMedia
583577
* Page.emulateMedia()} for more details. Defaults to {@code "none"}.
584-
*
585-
* <p> <strong>NOTE:</strong> It's not supported in WebKit, see <a href="https://bugs.webkit.org/show_bug.cgi?id=225281">here</a> in their issue
586-
* tracker.
587578
*/
588579
public ForcedColors forcedColors;
589580
public Geolocation geolocation;
@@ -770,9 +761,6 @@ public NewPageOptions setExtraHTTPHeaders(Map<String, String> extraHTTPHeaders)
770761
/**
771762
* Emulates {@code "forced-colors"} media feature, supported values are {@code "active"}, {@code "none"}. See {@link Page#emulateMedia
772763
* Page.emulateMedia()} for more details. Defaults to {@code "none"}.
773-
*
774-
* <p> <strong>NOTE:</strong> It's not supported in WebKit, see <a href="https://bugs.webkit.org/show_bug.cgi?id=225281">here</a> in their issue
775-
* tracker.
776764
*/
777765
public NewPageOptions setForcedColors(ForcedColors forcedColors) {
778766
this.forcedColors = forcedColors;

playwright/src/main/java/com/microsoft/playwright/BrowserType.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,9 +442,6 @@ class LaunchPersistentContextOptions {
442442
/**
443443
* Emulates {@code "forced-colors"} media feature, supported values are {@code "active"}, {@code "none"}. See {@link Page#emulateMedia
444444
* Page.emulateMedia()} for more details. Defaults to {@code "none"}.
445-
*
446-
* <p> <strong>NOTE:</strong> It's not supported in WebKit, see <a href="https://bugs.webkit.org/show_bug.cgi?id=225281">here</a> in their issue
447-
* tracker.
448445
*/
449446
public ForcedColors forcedColors;
450447
public Geolocation geolocation;
@@ -725,9 +722,6 @@ public LaunchPersistentContextOptions setExtraHTTPHeaders(Map<String, String> ex
725722
/**
726723
* Emulates {@code "forced-colors"} media feature, supported values are {@code "active"}, {@code "none"}. See {@link Page#emulateMedia
727724
* Page.emulateMedia()} for more details. Defaults to {@code "none"}.
728-
*
729-
* <p> <strong>NOTE:</strong> It's not supported in WebKit, see <a href="https://bugs.webkit.org/show_bug.cgi?id=225281">here</a> in their issue
730-
* tracker.
731725
*/
732726
public LaunchPersistentContextOptions setForcedColors(ForcedColors forcedColors) {
733727
this.forcedColors = forcedColors;

playwright/src/main/java/com/microsoft/playwright/ElementHandle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ class WaitForSelectorOptions {
11661166
*/
11671167
public WaitForSelectorState state;
11681168
/**
1169-
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
1169+
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
11701170
* element, the call throws an exception.
11711171
*/
11721172
public Boolean strict;
@@ -1193,7 +1193,7 @@ public WaitForSelectorOptions setState(WaitForSelectorState state) {
11931193
return this;
11941194
}
11951195
/**
1196-
* When true, the call requires selector to resolve to a single element. If given selector resolves to more then one
1196+
* When true, the call requires selector to resolve to a single element. If given selector resolves to more than one
11971197
* element, the call throws an exception.
11981198
*/
11991199
public WaitForSelectorOptions setStrict(boolean strict) {

0 commit comments

Comments
 (0)