We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3c48f commit 2d14905Copy full SHA for 2d14905
README.md
@@ -12,7 +12,14 @@
12
```
13
install maven
14
15
-
+### Clearing browser cache
16
+To clear browser cache, the following line of code can be used:
17
+
18
+```java
19
+// Clearing browser Cache after Test
20
+driver.manage().deleteAllCookies(); // delete all cookies
21
+Thread.sleep(7000); // wait 7 seconds to clear cookies.
22
+```
23
### Run your First Test
24
1. Clone the Java-Selenium-Sample repository.
25
0 commit comments