Skip to content

Capybara::Select2#select2 has unexpected interface for :css, :xpath #38

Description

@bertBruynooghe

When using :css or :xpath, you have to know the selector for the container, which is dependent on the implementation of select2. It would be better if you could define a selector for the oriinal element on which the select2 is applied, since that on is quite well know to the developer, and independent of inplementation changes of select2.

If you wish, I can create a PR...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions