Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-publiccenter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 15197dbf
authored
Oct 28, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化代码参数
1 parent
c3644f7a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/cn/com/glsx/base/modules/controller/BrowserController.java
src/main/java/cn/com/glsx/base/modules/controller/BrowserController.java
View file @
15197db
...
@@ -71,7 +71,7 @@ public class BrowserController {
...
@@ -71,7 +71,7 @@ public class BrowserController {
//设置截图范围
//设置截图范围
screenshotOptions
.
setFullPage
(
Boolean
.
TRUE
);
screenshotOptions
.
setFullPage
(
Boolean
.
TRUE
);
//等待两秒再截图
//等待两秒再截图
page
.
wait
(
2
000
);
page
.
wait
(
3
000
);
//保存到本地
//保存到本地
//screenshotOptions.setPath(filename + ".jpg");
//screenshotOptions.setPath(filename + ".jpg");
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment