kamrify commited on
Commit
f907594
·
1 Parent(s): 88b2d02

Add `refresh` method in docs

Browse files
Files changed (1) hide show
  1. readme.md +4 -0
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