You can use each() to loop through your table in cypress. to access the third element you can use the index value.
Since your id is catRatingImportManualInputRow105Col3
is dynamic, so we will use only use the part of your id that is static, so your css selector should be something like: div[id*="catRatingImportManualInputRow"]
cy.get('div[id*="catRatingImportManualInputRow"]').each(($ele, index) => {
if (index == 2)
//Do something with the third element
cy.wrap($ele).click().type('Yes')
})
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…