To find elements by data attribute, query using the attribute selector. ... an element's CSS property cy.get('[data-test-id="test-example"]') .invoke('css', ...
確定! 回上一頁