https://cypress.io logo
Element not visible
# i-need-help
c
Hi, a 'td' element of a table is not visible in cypress view.So it cannot click that element.How do i solve this now?Appreciate your answers.
l
If the element is covered by something else, you can force the click by passing the
{ force: true }
option to the
.click()
command. But if it's just completely invisible then you might be clicking on the wrong thing. You'll want to review the DOM in Dev Tools to find out which element is actually being made visible for clicking.
9 Views