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:
Serializable
- Direct Known Subclasses:
DriverException,TimeoutError
PlaywrightException is thrown whenever certain operations are terminated abnormally, e.g. browser closes while
Page.evaluate() is running. All Playwright exceptions inherit from this class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPlaywrightException(String message) PlaywrightException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PlaywrightException
-
PlaywrightException
-