Commit 6d99a25
[Java] Add toString() to DefaultElementLocator
Add toString() method to DefaultElementLocator and child classes in oder to display descriptive message instead of object's class name and hash code when TimeoutException is thrown while using PageFactory.
Signed-off-by: Alexei Barantsev <barancev@gmail.com>1 parent 8574144 commit 6d99a25
1 file changed
Lines changed: 5 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
0 commit comments