Skip to content

Commit 7e06cad

Browse files
committed
chore(driver): roll to 1.64.0-beta-1791325510000
1 parent 6b2c61a commit 7e06cad

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎playwright/src/main/java/com/microsoft/playwright/Screencast.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class ShowActionsOptions {
171171
*
172172
* <p> <strong>Usage</strong>
173173
*/
174-
public @Nullable Style style;
174+
public @Nullable ScreencastActionStyle style;
175175

176176
/**
177177
* Cursor decoration shown for pointer actions. {@code "pointer"} (the default) renders a mouse pointer that animates from
@@ -207,7 +207,7 @@ public ShowActionsOptions setPosition(AnnotatePosition position) {
207207
*
208208
* <p> <strong>Usage</strong>
209209
*/
210-
public ShowActionsOptions setStyle(Style style) {
210+
public ShowActionsOptions setStyle(ScreencastActionStyle style) {
211211
this.style = style;
212212
return this;
213213
}

playwright/src/main/java/com/microsoft/playwright/options/Style.java renamed to playwright/src/main/java/com/microsoft/playwright/options/ScreencastActionStyle.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import org.jspecify.annotations.Nullable;
2020

21-
public class Style {
21+
public class ScreencastActionStyle {
2222
/**
2323
* CSS declarations for the marker at the action point. The marker is positioned at the action point, has zero size and is
2424
* centered on the point, so its size and look come from this style. Not shown when omitted.
@@ -39,23 +39,23 @@ public class Style {
3939
* CSS declarations for the marker at the action point. The marker is positioned at the action point, has zero size and is
4040
* centered on the point, so its size and look come from this style. Not shown when omitted.
4141
*/
42-
public Style setPoint(String point) {
42+
public ScreencastActionStyle setPoint(String point) {
4343
this.point = point;
4444
return this;
4545
}
4646
/**
4747
* CSS declarations for the box that covers the target element. The box is positioned and sized to the element bounds. Not
4848
* shown when omitted.
4949
*/
50-
public Style setHighlight(String highlight) {
50+
public ScreencastActionStyle setHighlight(String highlight) {
5151
this.highlight = highlight;
5252
return this;
5353
}
5454
/**
5555
* CSS declarations for the action title, for example {@code "font-size: 32px; background: #333"}. The title is placed
5656
* according to {@code position}.
5757
*/
58-
public Style setTitle(String title) {
58+
public ScreencastActionStyle setTitle(String title) {
5959
this.title = title;
6060
return this;
6161
}

‎playwright/src/test/java/com/microsoft/playwright/TestScreencast.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import com.microsoft.playwright.junit.UsePlaywright;
2121
import com.microsoft.playwright.options.AnnotatePosition;
2222
import com.microsoft.playwright.options.ScreencastCursor;
23-
import com.microsoft.playwright.options.Style;
23+
import com.microsoft.playwright.options.ScreencastActionStyle;
2424
import org.junit.jupiter.api.Test;
2525
import org.junit.jupiter.api.io.TempDir;
2626

@@ -267,7 +267,7 @@ void screencastShowActionsShouldRenderStyle(Page page, Server server) throws IOE
267267
List<ScreencastFrame> frames = new ArrayList<>();
268268
page.screencast().start(new Screencast.StartOptions().setOnFrame(frames::add));
269269
// The decorations are only shown while the action is in progress, so look for them in the screencast frames.
270-
page.screencast().showActions(new Screencast.ShowActionsOptions().setDuration(1000).setStyle(new Style()
270+
page.screencast().showActions(new Screencast.ShowActionsOptions().setDuration(1000).setStyle(new ScreencastActionStyle()
271271
.setPoint("width: 100px; height: 100px; background: rgb(255, 0, 0); animation: none")));
272272
page.click("button");
273273
page.screencast().stop();

‎scripts/DRIVER_VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.64.0-beta-1791301756000
1+
1.64.0-beta-1791325510000

0 commit comments

Comments
 (0)