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)
相关推荐
Wpa.wk9 小时前
接口测试 - 接口测试工具 Postman-基础使用
经验分享·测试工具·lua·postman
雪花desu9 小时前
深度解析RAG(检索增强生成)技术
人工智能·深度学习·语言模型·chatgpt·langchain
可可南木9 小时前
ICT测试日志 --4--日志记录的格式 中
功能测试·测试工具·pcb工艺
卓码软件测评10 小时前
第三方软件测评机构:【Gatling构建JSON请求体StringBody、ElFileBody和Pebble模板的使用】
测试工具·性能优化·json·测试用例
美团程序员10 小时前
软件测试面试题总结【含答案】
功能测试·测试工具·职场和发展
syt_biancheng14 小时前
大规模考试系统性能优化与风险评估
python·功能测试·selenium·性能优化·postman
卓码软件测评15 小时前
CMA/CNAS软件测评机构:【Gatling XPath检查:XPath语法在XML响应中的应用】
测试工具·单元测试·测试用例
juhanishen17 小时前
Agentic AI: Chain of Thoughts (COT) CrewAI 一步步解释,从 0 到 1
人工智能·chatgpt·cot·agentic ai·agenticai·chain of though
Zilliz Planet17 小时前
ChatGPT VS Claude ,Agent记忆用对话压缩还是RAG按需检索
chatgpt
冬奇Lab17 小时前
Prompt工程进阶:用角色扮演让AI成为领域专家
人工智能·chatgpt·prompt