
Security News
Open VSX Unblocks Extension IDs Used in Malware Campaign
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.
@iflyrpa/playwright
Advanced tools
iflyrpa 封装的一组特定场景的自动化脚本,支持的场景如下:
| 平台 | 脚本 | 说明 | 支持的方式 |
|---|---|---|---|
| 头条 | toutiaoPublish | 发布/保存草稿 | Mock Api / RPA |
| 头条 | getToutiaoConfig | 获取头条发布配置的话题信息、位置信息和原创首发信息 | Mock Api |
| 头条 | searchToutiaoTopicList | 搜索头条话题 | Mock Api |
| 微头条 | weitoutiaoPublish | 发布 | Mock Api / RPA |
| 百家号 | getBaijiahaoActivity | 查询百家号活动投稿 | Mock Api |
| 百家号 | getBaijiahaoConfig | 获取百家号发布的设置信息 | Mock Api / RPA |
| 百家号 | baijiahaoPublish | 发布/保存草稿 | Mock Api / RPA |
| 微信公众号(小绿书-图文模式) | weixinmpPublish | 发布 | Mock Api / RPA |
| 微信公众号 | weixinPublish | 发布 | Mock Api |
| 小红书 | xiaohongshuPublish | 发布 | Mock Api / RPA |
| 小红书 | searchXiaohongshuTopicList | 搜索小红书话题 | Mock Api |
| 小红书 | searchXiaohongshuLocation | 搜索小红书地址 | Mock Api |
# npm
npm i @iflyrpa/playwright
# yarn
yarn add @iflyrpa/playwright
# pnpm
pnpm install @iflyrpa/playwright
import { RpaTask } from "@iflyrpa/playwright";
// 1. 创建缓存目录
const cachePath = join(__dirname, "../main/cache");
// 2. 初始化
const automateTask = new RpaTask({
cachePath, // 缓存目录
debug: true, // debug 模式下可视化展示所有操作
forceUpdate: false, // 是否使用远程最新版本
user: { id: "xx", email: "xx@xx.com" }, // 用户信息
enverionment: "development", // 环境变量(主要用于在日志中区分环境)
});
// 3. 执行脚本,支持的脚本如上
automateTask.actions.xiaohongshuPublish(xiaohonshuPublishParams)
// 4. 应用关闭前,清除副作用
app.on("before-quit", (event) => {
if (!automateTask.isClosed) {
// 阻止应用立即退出
event.preventDefault();
automateTask.close().finally(() => {
console.log("close app");
app.quit();
});
}
});
1. 缓存目录包含以下文件:
2. 如何获取脚本入参类型:
import type { ActionMethodParams } from "@iflyrpa/playwright";
export const xiaohonshuPublishParams: ActionMethodParams['xiaohongshuPublish'] = {}
automateTask.actions.xiaohongshuPublish(xiaohonshuPublishParams)
FAQs
iflyrpa 封装的一组特定场景的自动化脚本,支持的场景如下:
The npm package @iflyrpa/playwright receives a total of 284 weekly downloads. As such, @iflyrpa/playwright popularity was classified as not popular.
We found that @iflyrpa/playwright demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.