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.
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...