Package com.microsoft.playwright.impl
Class FrameImpl.WaitForLoadStateHelper
- java.lang.Object
-
- com.microsoft.playwright.impl.FrameImpl.WaitForLoadStateHelper
-
- All Implemented Interfaces:
Waitable<java.lang.Void>,java.util.function.Consumer<WaitUntilState>
- Enclosing class:
- FrameImpl
private class FrameImpl.WaitForLoadStateHelper extends java.lang.Object implements Waitable<java.lang.Void>, java.util.function.Consumer<WaitUntilState>
-
-
Field Summary
Fields Modifier and Type Field Description private WaitUntilStateexpectedStateprivate booleanisDoneprivate Loggerlogger
-
Constructor Summary
Constructors Constructor Description WaitForLoadStateHelper(WaitUntilState state, Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(WaitUntilState state)voiddispose()java.lang.Voidget()booleanisDone()
-
-
-
Field Detail
-
expectedState
private final WaitUntilState expectedState
-
logger
private final Logger logger
-
isDone
private boolean isDone
-
-
Constructor Detail
-
WaitForLoadStateHelper
WaitForLoadStateHelper(WaitUntilState state, Logger logger)
-
-
Method Detail
-
accept
public void accept(WaitUntilState state)
- Specified by:
acceptin interfacejava.util.function.Consumer<WaitUntilState>
-
-