How to click on an element with Serenity?

How can I click on an element with Serenity?

Hello Alex,

You need to click the element using the click() command as given below in case of Serenity:


driver.get("https://www.lambdatest.com")
element = driver.findElementById("Username").click();