Skip to content

Commit 4ca13fb

Browse files
committed
Update readme
1 parent b329cef commit 4ca13fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ Below are some basic examples of usage.
100100

101101
### Screenshots comparison
102102

103-
- Compare screenshot taken with the expected one with specified deviation rate (for example 0.1 represents that if image differences are less than 10% the images will be considered to be equal and no resulting image with highlighted differences
104-
will be produced):
103+
- Compare screenshot taken with the expected one with specified deviation rate (for example 0.1 represents that if image differences are less than 10% the images will be considered to be equal):
105104
```java
106105
Shutterbug.shootPage(driver).equals(otherImage,0.1);
107106
```
108-
- Compare screenshot taken with the expected one with specified deviation rate and create new image with differences highlighted:
107+
- Compare screenshot taken with the expected one with specified deviation rate and create new image with differences highlighted (for example 0.1 represents that if image differences are less than 10% the images will be considered to be equal and
108+
no resulting image with highlighted differences will be produced):
109109
```java
110110
Shutterbug.shootPage(driver).equalsWithDiff(otherImage,pathToNewImage,0.1);
111111
```

0 commit comments

Comments
 (0)