Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessors should create method for checking element presence #476

Open
jkotests opened this issue Jan 31, 2019 · 0 comments
Open

Accessors should create method for checking element presence #476

jkotests opened this issue Jan 31, 2019 · 0 comments

Comments

@jkotests
Copy link
Collaborator

jkotests commented Jan 31, 2019

The standard accessor methods create <name>? to check the existence of an element. In most cases, I would expect people care about the presence (ie exists AND visible).

Ideally, we would change <name>? to check presence. Note that this would be a backwards-incompatible change.

The other option is to add another standard method, but the naming may get confusing.

Originally reported on the Watir-General mailing list: https://groups.google.com/forum/#!msg/watir-general/YapRI27qa3Q/x_lkL1wIEQAJ

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

No branches or pull requests

1 participant