Documentation This step definition is used as a command to press a button by its text, ensuring the correct execution of the expected action. When (I|we)* press "([^"]*)?" Example by text:When I press "Log In"