Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Date selection with Codeception

Here is my problem, i need to make it somehow, with Codeception, so it selects a date. The Images will make everything clear.

enter image description here

You can see that i need the program to select the date in the drop down, the problem is that the dropdown items, so the years and so forth don't have any id that i can talk to.

I Tried with $I-> Click/fillField , but i really cant get to the result that i want.

Any input is welcome.

Danke


1 Answers

If anyone will ever need this. This is how i made it work:

$I->executeJS("$('#ENTERIDHERE').val('1969-01-02');");