TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Playwright Test Generator

74 点作者 bovem大约 1 年前

7 条评论

baal80spam大约 1 年前
As a SDET, my question is - does anyone uses tools such as this in professional work? If yes, what is the use case?<p>IME, creating and developing an automated test framework is 1% trying to find the best locator, and 99% maintenance of tests that use dynamic, nondeterministic flows, fighting with backend issues&#x2F;flakiness etc. I find Codegen to be OK-ish for only the simplest&#x2F;worthless test paths.
评论 #39705685 未加载
评论 #39706802 未加载
评论 #39705672 未加载
评论 #39709114 未加载
评论 #39705625 未加载
评论 #39709443 未加载
评论 #39706078 未加载
评论 #39705698 未加载
评论 #39709328 未加载
__jonas大约 1 年前
It works quite decently. I&#x27;ve noticed a nice side-effect of setting up playwright tests is that it helps catch accessibility issues, like interactive elements not being properly labeled as such.
rybosworld大约 1 年前
Probably worth pointing out, this isn&#x27;t new to playwright, and it&#x27;s not a new idea in general (Selenium IDE).
APhoenixRises大约 1 年前
I sometimes use the generator to get an idea of what selectors I might want to use and then extract the relevant bits to page objects. The risk is that not everyone knows that recorded tests are a starting point and not the destination.
daniel65464大约 1 年前
If you are looking for something that generates selectors for you but also gives you some control and granularity, I made a free chrome extension called automize
cute_boi大约 1 年前
I think this doesn&#x27;t work with tsx tool, which is kinda annoying :(
mherrmann大约 1 年前
Unreasonably shameless plug for my open source Python library Helium [1], so you don&#x27;t need a test generator.<p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;mherrmann&#x2F;helium">https:&#x2F;&#x2F;github.com&#x2F;mherrmann&#x2F;helium</a>
评论 #39706820 未加载
评论 #39709077 未加载