asserting select dropdown values
I want to assert the values of select fields. Is there an easy way to do this in codeceptjs? I've been looking through the documentation and I can't find an equivalent of the seeInField function that works for select dropdowns.
I am using webDriverIO.
Thanks, David
I think you would have to make your own Helper (http://codecept.io/helpers/), get the client you are using with this.helpers['client'].browser (like here http://codecept.io/helpers/WebDriverIO/#access-from-helpers) and check the client documentation.
For example Webdriver.io http://webdriver.io/api.html have a getValue that could work for select elements.
Thanks @divad4686, created a helper. It works great 😄
@dsypien if you think your method is valuable please send pull request and we will include that into next release.
@DavertMik great 👍 I'll create a pull request
Any chance it gets part of codeceptjs helpers ?
Is it part of codeceptjs now? If it is what is the method name?
@DavertMik great 👍 I'll create a pull request
Any updates on this? How can we call this functionality if it's been included in current releases?
Hi guys! Just wondering if this got implemented in the end. If yes, please be kind and write the method name? 10Q