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)
相关推荐
测试员周周2 小时前
【skills5】一份 spec 生成 k6/JMeter/Locust:性能压测 + 全站截图,上线前的双保险
功能测试·网络协议·测试工具·jmeter·http·自动化·集成测试
孤狼GPT10 小时前
Codex免费版够用吗?Free、Plus和Pro怎么选
chatgpt·ai编程·codex·chatgpt plus·chatgpt pro
顿哥GPT12 小时前
7月15更新ChatGPT Pro、Plus 与 Codex:多 Agent 软件工程中的一致性问题 (GPT5.6来了)
人工智能·chatgpt·软件工程
yingyuecom12 小时前
映悦AI复刻爆款更新深度评测:资产锁定如何治好AI短剧的‘变脸症’
人工智能·gpt·chatgpt·prompt·aigc
蝶恋舞者13 小时前
Wireshark 抓包工具
网络·测试工具·wireshark
Python大数据分析@13 小时前
如何评价 OpenAI 正式推出的 GPT-5.6 系列模型?
gpt·chatgpt
天才测试猿13 小时前
如何封装自动化测试框架?
自动化测试·软件测试·python·selenium·测试工具·职场和发展·测试用例
南方程序猴14 小时前
Codex 国内怎么配置?CC Switch + 中转站接入 GPT-5.6 保姆级教程
人工智能·gpt·ai·chatgpt·ai编程
repokey-Yao14 小时前
AI 如何看懂 FPGA 大工程?RepoKey Starter 使用记录
人工智能·chatgpt·fpga
AI大模型-小雄15 小时前
ChatGPT 上传文件失败怎么办?从格式、大小到账号状态逐项排查
gpt·chatgpt·ai编程·开发工具·codex·ai办公·chatgpt pro