HTML screen shot
I am unable to interact with a shadow dom button using cypress
I have tried with and without adding "includeShadowDom": true
to the cypress.json.
I have tried various permutations of the code below and it continually fails to locate the element.
Just using .shadow()
with the parent displays an error stating a shadow dom can't be found.
cy.get('#r-searchField').shadow().find('#text-field-container').find('#search-clear').click()