Package com.microsoft.playwright
Class PlaywrightException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microsoft.playwright.PlaywrightException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DriverException,TimeoutError
public class PlaywrightException extends java.lang.RuntimeExceptionPlaywrightException is thrown whenever certain operations are terminated abnormally, e.g. browser closes whilePage.evaluate()is running. All Playwright exceptions inherit from this class.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlaywrightException(java.lang.String message)PlaywrightException(java.lang.String message, java.lang.Throwable cause)
-