porscheinformatik / selenium-components

A small framework on top of Selenium to access web elements more easily.
MIT License
5 stars 5 forks source link

Add method to clear combobox and mark it dirty #11

Closed TechScar closed 10 months ago

TechScar commented 10 months ago

Calling only input.clear() does not update the formControl, it is still considered "PRISTINE" and the value remains the previous one.

So we need to simulate deleting the content of the combobox to truly update the formControl to being "DIRTY".