Overview of Serenity BDD Page Elements
serenity-screenplay-webdriver module and are compatible with both Screenplay and Action Class-based tests. All Page Elements support the withNameOrId() method, which matches the id, name, data-test, or aria-label attributes.