提交 03fe3f25 编写于 作者: K Kamran Ahmed

Update readme

上级 f76db3e7
......@@ -230,6 +230,11 @@ driver.highlight(string|stepDefinition);
// Resets the overlay and clears the screen
driver.reset();
// Additionally you can pass a boolean parameter
// to clear immediately and not do the animations etc
// Could be useful when you, let's say, want to run
// a different instance of driver while one was running
driver.reset(clearImmediately = false);
// Checks if there is any highlighted element
if(driver.hasHighlightedElement()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册