Skip to content

Commit 4743a3f

Browse files
committed
rename
1 parent 61c2eb4 commit 4743a3f

File tree

1 file changed

+4
-4
lines changed
  • playwright/src/main/java/com/microsoft/playwright/impl

1 file changed

+4
-4
lines changed

playwright/src/main/java/com/microsoft/playwright/impl/PageImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,11 +1357,11 @@ public JSHandle waitForFunction(String pageFunction, Object arg, WaitForFunction
13571357
}
13581358

13591359
@Override
1360-
public void waitForLoadState(LoadState _state, WaitForLoadStateOptions options) {
1361-
final LoadState state = _state == null ? LoadState.LOAD : _state;
1362-
withTitle("Wait for load state \"" + state.toString().toLowerCase() + "\"", () -> {
1360+
public void waitForLoadState(LoadState state, WaitForLoadStateOptions options) {
1361+
final LoadState loadState = state == null ? LoadState.LOAD : state;
1362+
withTitle("Wait for load state \"" + loadState.toString().toLowerCase() + "\"", () -> {
13631363
withWaitLogging("Page.waitForLoadState", logger -> {
1364-
mainFrame.waitForLoadStateImpl(state, convertType(options, Frame.WaitForLoadStateOptions.class), logger);
1364+
mainFrame.waitForLoadStateImpl(loadState, convertType(options, Frame.WaitForLoadStateOptions.class), logger);
13651365
return null;
13661366
});
13671367
});

0 commit comments

Comments
 (0)