Add `refresh` method in docs
Browse files
readme.md
CHANGED
|
@@ -332,8 +332,12 @@ driver.preventMove();
|
|
| 332 |
// Highlights the element using query selector or the step definition
|
| 333 |
driver.highlight(string|stepDefinition);
|
| 334 |
|
|
|
|
|
|
|
|
|
|
| 335 |
// Resets the overlay and clears the screen
|
| 336 |
driver.reset();
|
|
|
|
| 337 |
// Additionally you can pass a boolean parameter
|
| 338 |
// to clear immediately and not do the animations etc
|
| 339 |
// Could be useful when you, let's say, want to run
|
|
|
|
| 332 |
// Highlights the element using query selector or the step definition
|
| 333 |
driver.highlight(string|stepDefinition);
|
| 334 |
|
| 335 |
+
// Reposition the popover and highlighted element
|
| 336 |
+
driver.refresh();
|
| 337 |
+
|
| 338 |
// Resets the overlay and clears the screen
|
| 339 |
driver.reset();
|
| 340 |
+
|
| 341 |
// Additionally you can pass a boolean parameter
|
| 342 |
// to clear immediately and not do the animations etc
|
| 343 |
// Could be useful when you, let's say, want to run
|