mirror of
https://github.com/microsoft/playwright-java.git
synced 2025-09-08 21:01:00 +00:00
65 lines
1.7 KiB
Markdown
65 lines
1.7 KiB
Markdown
---
|
|
name: Bug Report
|
|
about: Something doesn't work like it should? Tell us!
|
|
title: "[BUG]"
|
|
labels: ''
|
|
assignees: ''
|
|
|
|
---
|
|
|
|
<!-- ⚠️⚠️ Do not delete this template ⚠️⚠️ -->
|
|
|
|
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
|
|
<!-- 🧪 Test using the latest Playwright release to see if your issue has already been fixed -->
|
|
<!-- 💡 Provide enough information for us to be able to reproduce your issue locally -->
|
|
|
|
### System info
|
|
- Playwright Version: [v1.XX]
|
|
- Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]
|
|
- Browser: [All, Chromium, Firefox, WebKit]
|
|
- Other info:
|
|
|
|
### Source code
|
|
|
|
- [ ] I provided exact source code that allows reproducing the issue locally.
|
|
|
|
<!-- For simple cases, please provide a self-contained test file along with the config file -->
|
|
<!-- For larger cases, you can provide a GitHub repo you created for this issue -->
|
|
<!-- If we can not reproduce the problem locally, we won't be able to act on it -->
|
|
<!-- You can still file without the exact code and we will try to help, but if we can't repro, it will be closed -->
|
|
|
|
**Link to the GitHub repository with the repro**
|
|
|
|
[https://github.com/your_profile/playwright_issue_title]
|
|
|
|
or
|
|
|
|
**Test file (self-contained)**
|
|
|
|
```java
|
|
import com.microsoft.playwright.*;
|
|
|
|
public class ExampleReproducible {
|
|
public static void main(String[] args) {
|
|
try (Playwright playwright = Playwright.create()) {
|
|
Browser browser = playwright.chromium().launch();
|
|
BrowserContext context = browser.newContext();
|
|
Page page = context.newPage();
|
|
// ...
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
**Steps**
|
|
- [Run the test]
|
|
- [...]
|
|
|
|
**Expected**
|
|
|
|
[Describe expected behavior]
|
|
|
|
**Actual**
|
|
|
|
[Describe actual behavior]
|