Automa 实现自动新标签页打开所选元素所有网站
发布时间:2023年12月30日
1.Automa 下载
https://github.com/AutomaApp/automa
2.工作流如下

1.首先点击按钮触发

2.执行活动标签模块
此模块会设置当前页面为活动标签页
3.接着执行 JavaScript 脚本

上面的 document.querySelectorAll
获取需要获取的超链接,然后提取出超链接文本列表 hrefs
,接着以[{'url':'http:xxxxxx1'},{'url':'http:xxxxxx2'}...]
形式存储到变量output
中,接着执行下一个模块
4.接着执行循环数据

以上去除循环数据,并插入loop中
5.循环打开新建标签页

6.断电结束循环

文章来源:https://blog.csdn.net/2301_78055266/article/details/135231455
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!