public UserCreateUpdateDialog<P> fillEditDialog(String fullName, String password, Role role) { Fluent browser = page.getBrowser(); browser.fill(FULL_NAME_FIELD).with(fullName); browser.fill(PASSWORD_FIELD).with(password); webElement.find(ROLE_OPTION, withText(role.name())).click(); return this; }