web-infra-dev / web-infra-dev/midscene
[Feature]: Add a script generation feature to playground mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.9k
- Forks
- 1.2k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 96
Description
What problem does this feature solve?
Recorder mode can automatically generate playwright/yaml scripts after recording operations. Could playground mode add a similar feature — after executing all steps via natural language, provide a button that lets the user choose whether to generate a script, and allow them to choose the script style (autonomous planning or workflow)?
What does the proposed API look like?
none
原文 / Original
Title: [Feature]: playground模式增加生成脚本功能
What problem does this feature solve?
recorder模式可以录制操作后自动生成playwright/yaml脚本,那么playground模式能不能新加个功能,根据自然语言执行完所有步骤后,加个按钮让用户选择要不要生成脚本,并且可以选择脚本风格是自主规划或者工作流。
What does the proposed API look like?
none
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the playground mode implementation and the recorder flow that generates Playwright/YAML scripts. Compare how script-style selection works there, then define the playground button, autonomous-planning and workflow choices, and verify that scripts can be generated after all natural-language steps finish.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, typescript
- Domain
- testing, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100