Skip to content

Commit 3142582

Browse files
authored
chore: Update issue templates (#431)
1 parent 29bd861 commit 3142582

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
name: "Bug report \U0001FAB2"
3+
about: Create a bug report to help us improve
4+
title: "[Bug]: "
5+
labels: p2-bug
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
Before posting a bug report, please make sure it is a software defect related to "playwright-go"(or playwright).
12+
13+
The issue tracker is not a help forum. Consider asking for help on for example:
14+
- [Github Discussions](/playwright-community/playwright-go/discussions)
15+
- upstream [Playwright Discord channel](https://aka.ms/playwright/discord)
16+
-->
17+
**Environments**
18+
<!--pls always use latest since playwright-go still `v0.x`-->
19+
- playwright-go Version: [e.g. v0.4201.1]
20+
- Browser: [e.g. firefox]
21+
- OS and version: [e.g. macOS / Windows 11/ Ubuntu 22.04]
22+
23+
**Bug description**
24+
<!-- A clear and concise description of what the bug is. Describe the expected bahavior
25+
and how it is currently different.-->
26+
27+
**To Reproduce**
28+
Please provide a mini reproduction rather than just a description. For example:
29+
30+
```go
31+
package main
32+
33+
import "github.com/playwright-community/playwright-go"
34+
35+
func main() {
36+
// ignore unnecessary error handling code
37+
pw, _ := playwright.Run()
38+
browser, _ := pw.Chromium.Launch()
39+
context, _ := browser.NewContext()
40+
page, _ := context.NewPage()
41+
42+
_, _ = page.Goto("https://playwright.dev")
43+
44+
_, err := page.PDF(playwright.PagePdfOptions{
45+
Path: playwright.String("playwright-example.pdf"),
46+
})
47+
// should no error
48+
if err != nil {
49+
panic(err)
50+
}
51+
}
52+
53+
```
54+
55+
**Additional context**
56+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: "Feature request \U0001F680"
3+
about: Suggest an idea for this project
4+
title: "[Feature]: "
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Does the upstream have similar features?**
11+
`playwright-go` is just a community-driven client for [playwright](https://playwright.dev). For feature requests, please refer to other officially supported clients first. [Nodejs](https://github.com/microsoft/playwright) / [Java](https://github.com/microsoft/playwright-java) / [.Net](https://github.com/microsoft/playwright-dotnet) / [Python](https://github.com/microsoft/playwright-python)
12+
13+
**Is your feature request related to a problem? Please describe.**
14+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
15+
16+
**Describe the solution you'd like**
17+
A clear and concise description of what you want to happen.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

0 commit comments

Comments
 (0)