Skip to content

Commit 45c2a45

Browse files
authored
Update README.md
1 parent 3f8ee63 commit 45c2a45

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
install maven
1414
```
1515

16+
### Set network conditions
17+
18+
To set network conditions, devTools can be used like so:
19+
20+
```java
21+
devTools.send(Network.emulateNetworkConditions(false, 0, 2 * 1024 * 1024, 2 * 1024 * 1024, Optional.empty()));
22+
```
23+
1624
### Run your First Test
1725
1. Clone the Java-Selenium-Sample repository.
1826
```

0 commit comments

Comments
 (0)