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)
相关推荐
ClouGence1 小时前
不用写 Selenium,零代码的 UI 自动化测试工具!
selenium·测试
DS随心转插件3 小时前
DeepSeek 代码手机端导出与 AI 辅助方案实测
android·人工智能·chatgpt·智能手机·deepseek·ai导出鸭
码农小旋风3 小时前
智能体经典范式构建
chatgpt·claude
码农小旋风4 小时前
Agent框架开发实践
人工智能·chatgpt·claude
AI周红伟4 小时前
事件分析:FDE标准,“OpenClaw+RAG+Agent” 应用实战的标准
前端·人工智能·chrome·chatgpt·aigc
资源分享助手5 小时前
ChatGPT App接入Codex教程:手机远程管理AI编程助手
chatgpt·智能手机·ai编程
暮雪倾风5 小时前
【AI】CC switch安装与使用教程:告别繁琐配置,解锁 AI 编程 CLI 一键管理
人工智能·chatgpt·claudecode·ccswitch
DS随心转APP1 天前
AI导出鸭:AI 文档排版与一键导出实战指南
人工智能·ai·chatgpt·deepseek·ai导出鸭
极连AI1 天前
国产大模型譬如DeepSeek接入codex教程分享
人工智能·gpt·chatgpt·api·token·极连ai·zovelox.com
pan_junbiao1 天前
Whistle 抓包工具的安装与使用
前端·测试工具·压力测试·抓包