playwright-java
playwright-java copied to clipboard
[Bug]: Caret Screenshot
Version
1.43.0
Steps to reproduce
- Java 11 Maven project in IntelliJ IDEA 2024.1
- Clone my repo: https://github.com/erdemgurell/Playwright_LearningProject.git
- Go to src/test/java/LambdaTest/day4/Screenshots.java and run the file.
Expected behavior
Take a screenshot of the input element with the caret hidden and save it to a fil
Actual behavior
It gives this error:
com.microsoft.playwright.PlaywrightException: Error message='caret: expected one of (hide|initial) name='Error stack='Error: caret: expected one of (hide|initial)
Additional context
I think it's about enums in ScreenshotCaret class
Environment
- Operating System: [Windows 10]
- Browser: [Chromium]
- IDE: [IntelliJ IDEA 2024.1 (Community Edition)]
- Java Version: [Java 11]
- Playwright Version: [1.43.0]
- Maven Version: [4.0.0]