Javascript – Filter out getByText elements that contain "disabled" class name
Have a calendar that might have a date displayed twice: from the previous month and for the current month: The disabled dates have disabled in the class, like this: <div role="gridcell" class="ngb-dp-day disabled" tabindex="-1" aria-label="Sunday, July 28, 2024"> <span _ngcontent-dug-c147=""…