You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -782,10 +783,49 @@ The input string should contain selector of the element to check.
782
783
}
783
784
```
784
785
786
+
## break
787
+
Type: `String`
788
+
789
+
Interrupts executing commands in a loop and advances to the next command on the level of the interrupted loop.
790
+
791
+
```js
792
+
{
793
+
url:'https://google.com',
794
+
wait:'#lst-ib'
795
+
},
796
+
{
797
+
repeat:10,
798
+
do: [
799
+
{
800
+
click:'#lst-ib'
801
+
},
802
+
{
803
+
if: {
804
+
isFocused:'#lst-ib'
805
+
},
806
+
then: {
807
+
break:'input is in focus'
808
+
}
809
+
}
810
+
]
811
+
}
812
+
```
813
+
785
814
## abort
786
815
Type: `String`
787
816
788
-
Stops executing firther commands and fails current Grunt task with the specified message. It can be used to stop the tests at a specific point and investigate the situation in the web browser.
817
+
Stops executing further commands and fails current Grunt task with the specified message. It can be used to stop the tests at a specific point and investigate the situation in the web browser.
0 commit comments