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
2. Add configuration file [settings.json](./src/main/resources/settings.json) and localization [folder](./src/main/resources/localization/) to resources folder (usually `src/test/resources`)
36
-
37
-
3. Create instance of Browser:
27
+
2. Create instance of Browser in your test method:
38
28
```java
39
29
Browser browser =BrowserManager.getBrowser();
40
30
```
41
31
42
-
4. Use Browser's methods directly for general actions, such as navigation, window resize, scrolling and alerts handling:
32
+
3. Use Browser's methods directly for general actions, such as navigation, window resize, scrolling and alerts handling:
43
33
```java
44
34
browser.maximize();
45
35
browser.goTo("https://wikipedia.org");
46
36
browser.waitForPageToLoad()
47
37
```
48
38
49
-
5. Add elements you want to interact within the current form as private final fields. Use ElementFactory class's methods to get an instance of each element.
39
+
4. Add elements you want to interact within the current form as private final fields. Use ElementFactory class's methods to get an instance of each element.
0 commit comments