What is the difference between a command and the same command with "AndWait" (e.g. click and clickAndWait commands)? Selenium waits indefinitely for the result of the "AndWait" command. It waits for the result of the "AndWait" command but only for 30 seconds (default timeout).