This code automatically clicks the first year in the list, then the first month and then the first day. In my opinion, instead of using the .vpd-addon-list-item class, each item should have a unique ID, While there is no. That is, if I want to test a specific date and time, it is not possible.
I use dusk in Laravel for testing. For example, in my vue file to get the date of birth:
To test it, I have written:
This code automatically clicks the first year in the list, then the first month and then the first day. In my opinion, instead of using the .vpd-addon-list-item class, each item should have a unique ID, While there is no. That is, if I want to test a specific date and time, it is not possible.