• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

yxchun

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页

2024年2月29日

from Crypto.Util.Padding import pad,unpad 报错,没有找到依赖

摘要: 1、安装 pip install pycryptodomepip install Crypto 2、安装完成后重启idea,发现还是没有 打开依赖包所在的文件夹:安装位置\Lib\site-packages 发现Crypto 是小写. 将文件夹中的crypto改成大写的Crypto 3、打开 cry 阅读全文

posted @ 2024-02-29 16:54 yxchun 阅读(943) 评论(0) 推荐(0)

2023年12月25日

Spring 自带的常用工具包

摘要: 在Spring Framework里的spring-core包里面,有个org.springframework.util里面; 另一个工具包是commons-lang3 参考:https://mp.weixin.qq.com/s/ZalSIQMRXJ0edhJUaw7oxw 阅读全文

posted @ 2023-12-25 11:20 yxchun 阅读(46) 评论(0) 推荐(0)

2023年12月11日

java-selenium 使用固定版本chrome浏览器和chromedriver,解决chrome自动升级无法与Chromedriver匹配问题

摘要: 1、获取Google chrome、chromedriver 地址:https://googlechromelabs.github.io/chrome-for-testing/ 2、将2个压缩包解压,存放到固定目录 比如我的chromedriver位置为:D:\file\jar\chromeDriv 阅读全文

posted @ 2023-12-11 13:57 yxchun 阅读(1578) 评论(0) 推荐(0)

java-selenium 启动时出现 Invalid Status code=403 text=Forbidden

摘要: 加上 chromeOptions.addArguments("--remote-allow-origins=*"); 即可 ChromeOptions chromeOptions = new ChromeOptions(); // 防止403 chromeOptions.addArguments(" 阅读全文

posted @ 2023-12-11 13:44 yxchun 阅读(309) 评论(0) 推荐(0)

java-selenium 操作页面时免登录,记录用户的登录信息

摘要: 利用 ChromeOptions ,启动浏览器时设置用户数据存放目录,下次启动程序时,继续加载这个目录 // chrome 浏览器数据存储目录位置 String userData="--user-data-dir=C:\\Users\\AppData\\Local\\Google\\Chrome\\ 阅读全文

posted @ 2023-12-11 13:43 yxchun 阅读(277) 评论(0) 推荐(1)

抖音自动化-实现给特定用户发私信 (java-selenium)

摘要: 重点: 打开新的窗口后,driver发生了变化,不能再用之前的driver;可以通过窗口句柄,跳转到新页面 // 页面跳转,driver再次发生变化;(既 :重新打开一个浏览器窗口后,driver发生了变化,不能使用原先窗口的driver) for (String windowHandle : dr 阅读全文

posted @ 2023-12-11 13:39 yxchun 阅读(954) 评论(2) 推荐(0)

2023年11月17日

越权测试插件Auth Analyzer

摘要: 1 、安装 2、Burp 代理需要设置系统代理和浏览器代理,可以使用Burp Suite内置浏览器(已经开启了代理)。 代理设置: 启动open browser, 设置 Intercept is off (否则会拦截所有的请求) 3、环境准备:使用Burp内置的浏览器登录一个具有完全权限的账号(获取 阅读全文

posted @ 2023-11-17 09:09 yxchun 阅读(1320) 评论(0) 推荐(1)

2023年10月31日

PyCharm快捷键

摘要: 阅读全文

posted @ 2023-10-31 09:06 yxchun 阅读(12) 评论(0) 推荐(0)

2023年10月30日

PyCharm 激活

摘要: 参考: https://arcstack.top/tools/crash/pycharm.html 下载版本:2023.2 下载链接:https://www.jetbrains.com/pycharm/download/other.html 激活工具: 链接:https://pan.baidu.co 阅读全文

posted @ 2023-10-30 10:47 yxchun 阅读(347) 评论(1) 推荐(2)

2023年10月28日

allure使用,python

摘要: 1、安装pytest 2、安装allure-pytest 3、下载allure pip install pytest pip install allure-pytest 下载allure 下载链接:https://repo.maven.apache.org/maven2/io/qameta/allu 阅读全文

posted @ 2023-10-28 16:46 yxchun 阅读(25) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3