MarketSquare / MarketSquare/robotframework-browser
add Is Element keyword
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 655
- Forks
- 147
- Avg merge
- 5h 27m
- Merged PRs (30d)
- 59
Description
**Is your feature request related to a problem? Please describe.**
Quite often there is a need to add conditional logic to a test based on UI state. Currently I need to do some ugly Run Keyword And Return Status or TRY/EXCEPT stuff or use Get Element Count as workaround.
**Describe the solution you'd like**
new keyword Is Element that returns boolean value whether element defined by selector is found or not.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Get Element Count keyword and the related keyword implementation and tests. Compare how it handles a selector and define the new Is Element keyword around the requested boolean result. Done means a selector reports whether an element is found, with coverage for the relevant UI states.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- playwright, python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100