📜  cy.contains - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:52.288000             🧑  作者: Mango

代码示例1
cy.get('.nav').contains('About') // Yield el in .nav containing 'About'
cy.contains('Hello') // Yield first el in document containing 'Hello'