I have the input field with the type date:
How to select the datepicker icon to open the calendar in PlayWright.
My element has input information type= "date"
if i click it is only clicking on the input type; I need to click specifically on the datepicker icon to open the calendar to input the date.
When I further inspected their accessible name, it had two computed properties: one for the input date and a datepicker icon.Example image of inputComputed property:Date //input type as dategenericgeneric // dateinputspinbutton "Day"StaticText "/"spinbutton "Month"StaticText "08"StaticText "/"spinbutton "Year"generic "Show date picker" //datepicker icon
How can I retrieve only the datepicker icon if the input type is inbuilt with the type date?