Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to access the datepicker icon to open the calendar in Blazor, where it has an inbuild input type as date in playwright

$
0
0

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?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>