js + selenium 获取chatgpt的accessToken

chatgpt的accessToken非常有用,在做web api对接时,因为登录超时 会刷新accessToken

复制代码
let elements = document.querySelectorAll('.token-string');

let concatenatedText = [8,9,10].map(index => {
    return elements[index] ? elements[index].textContent : '';
}).join('');

console.log(concatenatedText)
相关推荐
破土士V1 小时前
【软件测试】自动化测试
自动化测试·selenium·web自动化测试·ui自动化
v:ychya20183 小时前
2026 外贸 GEO 实操:4 步让独立站被 ChatGPT 优先引用
人工智能·chatgpt
JavaPub-rodert3 小时前
ChatGPT Windows 客户端突然打不开?提示找不到 Codex CLI,我这样解决了
windows·chatgpt
leoZ2316 小时前
AI+前端提效- 06 AI辅助调试排错:前端报错、白屏、兼容问题极速定位
前端·人工智能·chatgpt·状态模式·超分辨率重建·openvino·dreamfusion
ClouGence6 小时前
告别低效脚本!8款更省事的 Selenium 替代工具推荐
selenium·测试
zhonyu鱼7 小时前
Wireshark:开源免费的抓包工具,网络故障排查与安全分析利器
测试工具·安全·wireshark
测试19989 小时前
UI自动化测试:窗口截图&文件上传实战
自动化测试·软件测试·python·selenium·测试工具·职场和发展·测试用例
精彩AI说10 小时前
ChatGPT列清单总是又长又乱?任务分类、优先级与固定格式设置方法
chatgpt·效率工具·任务管理·ai工具·chatgpt教程