Skip to content

feat(locator): form actions: clear, check, uncheck, isChecked, selectOption, inputValue #133

Closed

Description

@shossain786

Form controls are only reachable through BasePage helpers (dropdowns) or the raw WebElement. LocatorAssert already has isChecked() but Locator has no matching check() / uncheck() / isChecked(). Add to Locator: clear(), check(), uncheck(), isChecked(), selectOption(String text), selectOptionByValue(String), inputValue(). check()/uncheck() should be idempotent (no click if already in the requested state).

Acceptance: tests pass (unit tests under src/test, plus a case against a real page in the sample project if it needs a browser); Javadoc on each public method; a changelog entry in docs-site/docs/changelog.md; one line in the locators guide. Terminal actions must follow the existing contract: resolve from scratch on every poll and retry stale/not-yet-present elements until timeouts.explicit (see #67/#68). See CONTRIBUTING.md; comment to claim it.

Activity

  1. PUSHPAK-JAISWAL commented on Oct 11, 2026

    @PUSHPAK-JAISWAL
    Contributor

    @shossain786 I will try this on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions