摘要: 第一步 访问github marketplace打开github:(没有账号需要先注册账号)https://github.com/marketplace/models/azure-openai/gpt-4-1/playground 第二步 申请apikey点击Get developer key 选择 阅读全文
posted @ 2025-10-11 11:56 赏金猎人小熊 阅读(72) 评论(0) 推荐(0)
摘要: 使用 Selenium Wire 如果需要捕获 HTTP 请求,可以使用 selenium-wire 库,它扩展了 Selenium 的功能,允许拦截和查看网络请求。 示例代码: from seleniumwire import webdriver # 初始化 Selenium Wire WebDr 阅读全文
posted @ 2025-09-09 16:53 赏金猎人小熊 阅读(71) 评论(0) 推荐(0)
摘要: 解决办法 将下面的代码替换成新的即可完美解决 历史 entries = self.driver.execute_script("return window.performance.getEntries()") 更新后 entries = self.driver.execute_script("ret 阅读全文
posted @ 2025-09-09 16:34 赏金猎人小熊 阅读(12) 评论(0) 推荐(0)
摘要: 获取cookie get_cookies(): 获取当前会话中当前域名所有cookies get_cookie(name): 获取当前会话中当前域名指定name对应的cookie值 delete_cookie(name): 删除指定cookie delete_all_cookies(): 删除所有c 阅读全文
posted @ 2025-09-09 15:32 赏金猎人小熊 阅读(28) 评论(0) 推荐(0)
摘要: pycharm 接入AI教程地址 https://blog.csdn.net/m0_64360389/article/details/145601855 阅读全文
posted @ 2025-08-30 17:43 赏金猎人小熊 阅读(33) 评论(0) 推荐(0)
摘要: [pytest] ;addopts:配置命令行参数,用空格进行分隔 ;可执行标记为mark的对应用例,用or表示标记为demo或者smoke的用例都会执行 addopts = -vs --alluredir=./results/json --clean-alluredir -m "demo or s 阅读全文
posted @ 2025-08-30 15:14 赏金猎人小熊 阅读(12) 评论(0) 推荐(0)
摘要: 查询最大时间或者排名最前的数据 三种方法 第一种 select * from t_company t RIGHT JOIN (select type, MAX(create_date) as "createDate" from t_company GROUP BY type) tmp on t.cr 阅读全文
posted @ 2025-08-29 18:10 赏金猎人小熊 阅读(9) 评论(0) 推荐(0)
摘要: 在 FastAPI 中,可以通过集成模板引擎(如 Jinja2)实现网页渲染。以下是使用 Jinja2 渲染模板的步骤。 安装依赖 首先,确保安装了必要的依赖库: pip install jinja2 aiofiles jinja2:模板引擎,用于渲染 HTML。 aiofiles:支持异步文件操作 阅读全文
posted @ 2025-08-29 17:51 赏金猎人小熊 阅读(29) 评论(0) 推荐(0)
摘要: ON DUPLICATE KEY UPDATE 用法地址 https://blog.csdn.net/qq_22771739/article/details/84668620 阅读全文
posted @ 2025-08-29 11:11 赏金猎人小熊 阅读(5) 评论(0) 推荐(0)
摘要: allure 参考教程 https://blog.csdn.net/qq_64444051/article/details/127870637 https://blog.csdn.net/weixin_44904239/article/details/135647536 https://www.cn 阅读全文
posted @ 2025-08-29 11:08 赏金猎人小熊 阅读(3) 评论(0) 推荐(0)