} function(s) { And yes, you can use an if statement in Karate ! This below declares that the native (direct) Chrome integration should be used, on both Mac OS and Windows - from the default installed location. var date = new java.util.Date(); You can ask for an element by its relative position to another element which is visible - such as a ,

or
 

karate framework for ui automation