I am trying to locate a date picker on the UI. The datepicker is only displayed when the override checkbox is clicked and I am able to locate that but not able to locate the month and year Drop downs. They do not contain ID or unique names and the xpaths I used don't work.
Relative xpath - //body/sd-app[1]/div[1]/mat-drawer-container[1]/mat-drawer-content[1]/div[1]/member-management[1]/div[1]/section[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/member-detail[1]/div[1]/div[3]/csp-member-plan-overview[1]/mat-accordion[1]/mat-expansion-panel[1]/div[1]/div[1]/csp-plan-details[1]/div[1]/csp-add-plan[1]/div[1]/form[1]/fieldset[5]/div[1]/div[1]/div[1]/div[1]/div[1]/ngb-datepicker[1]/div[1]/ngb-datepicker-navigation[1]/ngb-datepicker-navigation-select[1]/select[1]
Absolute xpath - /html[1]/body[1]/sd-app[1]/div[1]/mat-drawer-container[1]/mat-drawer-content[1]/div[1]/member-management[1]/div[1]/section[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/member-detail[1]/div[1]/div[3]/csp-member-plan-overview[1]/mat-accordion[1]/mat-expansion-panel[1]/div[1]/div[1]/csp-plan-details[1]/div[1]/csp-add-plan[1]/div[1]/form[1]/fieldset[5]/div[1]/div[1]/div[1]/div[1]/div[1]/ngb-datepicker[1]/div[1]/ngb-datepicker-navigation[1]/ngb-datepicker-navigation-select[1]/select[1]
I posted a picture of the datepicker and the element of the first month dropdown which is in a select Any help would be appreciated