You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+120-26
Original file line number
Diff line number
Diff line change
@@ -7,29 +7,6 @@
7
7
8
8
Selenium Shutterbug is a utility library written in Java for making screenshots using [Selenium WebDriver](http://www.seleniumhq.org/projects/webdriver/"SeleniumHQ WebDriver page") and further customizing, comparing and processing them with the help of [Java AWT](https://en.wikipedia.org/wiki/Abstract_Window_Toolkit"AWT wiki").
9
9
10
-
## Code Example
11
-
12
-
Screenshot of the page with scrolling (for Chrome to make screenshot of the whole page but not viewport only):
More examples [here](https://github.com/assertthat/selenium-shutterbug/wiki/Examples-of-usage)
30
-
31
-
## Motivation
32
-
33
10
The idea behind the project is to make testers life easier by enabling them to create descriptive screenshots which, in some cases, could be directly attached to the bug reports or serve as a source of information about system state at a specific moment of time.
34
11
35
12
## Installation
@@ -42,7 +19,7 @@ The project is available in [Maven Central](http://search.maven.org/#search%7Cga
42
19
<dependency>
43
20
<groupId>com.assertthat</groupId>
44
21
<artifactId>selenium-shutterbug</artifactId>
45
-
<version>x.x</version>
22
+
<version>0.9.5</version>
46
23
<exclusions>
47
24
<exclusion>
48
25
<groupId>org.seleniumhq.selenium</groupId>
@@ -54,16 +31,133 @@ The project is available in [Maven Central](http://search.maven.org/#search%7Cga
- Take screenshot and scroll in both directions with half a second scrolling timeout (Will make full page screenshot in Chrome) and use devicePixelRatio - for retina displays:
- Take screenshot of the whole page using Chrome DevTools. This is applicable for Chrome only. Use this one instead of ScrollStrategy.WHOLE_PAGE if page has sticky header or any other sticky elements.
0 commit comments