Commit c8ddfbf
Grid screenshot issue (#50)
* added exception wait time out to handle tolerant methods
* applied the changes as mentioned in the review comments for tolerant methods
* Changed the method to package private to not expose this method
* Added test to validate the tolerant method without passing wait time for method
* changed the variable names for the TolerantAction object as mentioned
* futureDataAvoidingWeekendsAndBankHolidays issue which need to avoid weekends when adding bank holidays count
* added overload method for tolerantItemByIndex and tolerantItemByHtmlValueAttribute
* resolved conflicts
* changed from private package to public
* Changed onException method to take screenshot only on Local run not on running on grid
* Changed onException method to take screenshot only on Local run not on running on grid
* Added boolean parameter in config file to handle taking snapshots
Co-authored-by: balavengaiah.matam <[email protected]>1 parent bdcaffa commit c8ddfbf
File tree
3 files changed
+26
-9
lines changed- src
- main/java/uk/co/evoco/webdriver
- configuration
- test/resources
3 files changed
+26
-9
lines changedLines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | 249 | | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
223 | 237 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments