cobrateam / cobrateam/splinter
RFE: allow checking for element enabled/disabled status
- Dominant language
- Python
- Stars
- 2.7k
- Forks
- 511
- PR merge metrics
- No merged PRs in 30d
Description
For a test case I'm currently working on [1], the only way I found to check for an element's enabled/disabled status is to query the private `_element` attribute directly:
find_by_id_result.first._element.is_enabled
Would it be reasonable to add an API equivalent to the existing one for `visible` that instead checked the `enabled` status of the underlying component? (I have a partially prepared patch for this, but I'm having trouble running the test suite locally on Fedora, so it isn't complete yet, and I figured it made sense to ask if the idea was acceptable in principle before continuing to work on it)
[1] https://github.com/leapp-to/prototype/pull/139/files
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.