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 7884bb2 commit b91762dCopy full SHA for b91762d
README.md
@@ -33,15 +33,14 @@ browser.waitForPageToLoad();
33
34
4. Use ElementFactory class's methods to get an instance of each element.
35
```java
36
-ElementFactory elementFactory = new ElementFactory();
37
-ITextBox txbSearch = elementFactory.getTextBox(By.id("searchInput"), "Search");
38
-txbSearch.submit();
39
-browser.waitForPageToLoad();
+ITextBox txbSearch = new ElementFactory().getTextBox(By.id("searchInput"), "Search");
40
```
41
42
5. Call element's methods to perform action with element:
43
44
-txbSearch.type("quality assurance");
+txbSearch.type("Selenium WebDriver");
+txbSearch.submit();
+browser.waitForPageToLoad();
45
46
47
6. Quit browser at the end
0 commit comments