feat(selenium):重构ChromeDriver预加载与防检测配置
- 移除旧的WebDriverManager配置逻辑 - 新增SeleniumStealthUtil工具类,集成防检测脚本 - 实现全局单例ChromeDriver Bean管理- 添加驱动生命周期自动清理机制 -优化驱动创建参数,增强浏览器伪装能力 - 移除无用的线程池销毁方法 - 调整配置类注解与加载顺序
This commit is contained in:
@@ -54,9 +54,7 @@
|
||||
<artifactId>webmagic-extension</artifactId>
|
||||
<version>1.0.3</version>
|
||||
</dependency>
|
||||
|
||||
<!-- JavaFX 相关依赖已移除 -->
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
@@ -118,7 +116,6 @@
|
||||
<version>0.11.5</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- OSHI for hardware information -->
|
||||
<dependency>
|
||||
<groupId>com.github.oshi</groupId>
|
||||
|
||||
Reference in New Issue
Block a user