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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Automating Screenshots: Relishing Making One's Own Tools

10 点作者 mbforbes9 个月前

1 comment

sahmeepee9 个月前
...meanwhile, Playwright is sipping piña coladas?<p>It seems like the choice of Selenium might be a bit limiting if it doesn&#x27;t allow scrolling, doesn&#x27;t give access to http status codes and doesn&#x27;t do full page screenshots or screenshots of specific elements.<p>If you&#x27;re invested in Selenium for other reasons I can see why it might not be worth switching. I can&#x27;t test it right now but I&#x27;d be interested to see what a simple Playwright test does with this: just scroll to the bottom and back to the top, wait for the lazy elements to load, then take a full-page screenshot.