Skip to content

selenium,chrome,java ,screenshot,java网页截图,java网页截图并且切割图片为10份

Notifications You must be signed in to change notification settings

linzhangtong/selenium-chromedriver-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScreenShot And Split Picture

Based on the Java language, selenium and chromedriver implement web screenshot saving and image cutting into 10 pieces

Usage

  1. maven clean package
  2. example
java -jar screenshot-auto-0.0.1-SNAPSHOT.jar ${url} ${chromedriver_path} ${save_path} 

${url}:You want screenshots of the page

${chromedriver_path}:The path of the chromedriver

${save_path}:Save to the folder path

网页截图和切割图片

基于java语言,还有selenium和chromedriver实现网页截图和切割图片

使用方法

  1. maven打包 2.执行脚本如下
java -jar screenshot-auto-0.0.1-SNAPSHOT.jar ${url} ${chromedriver_path} ${save_path} 

${url}:截图的url

${chromedriver_path}:chromedriver驱动路径

${save_path}:保存的路径(如:/Users/a/Desktop/)

About

selenium,chrome,java ,screenshot,java网页截图,java网页截图并且切割图片为10份

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages