I am trying to select start and end dates from PickerWheel on the browser. But click and select methods are not working. Because to select date we need to move like in iOS devices date picker wheel. I would like to automate to pick up the next day to search.
-
Welcome to the community. Just an FYI, the select method in Selenium will not work for this because the website is not using <select>, it's using <ul>. See selenium.dev/documentation/webdriver/elements/select_lists– Lee JensenMar 26 at 18:44
-
@LeeJensen, thank you for your response. But is there any workaround to select a date from this form?– MukhaApr 6 at 4:23
-
There's no built-in method for picking an element in a UL/LI element. You have to write that method yourself. Unless you can get the developer to use Select instead.– Lee JensenApr 6 at 16:10