Cypress:操做iframe中的元素

示例代码以下: 好比如今要点击"loginFrame"中的"J_Quick2Static"按钮web cy.get('#loginFrame',{timeout: 2000}) .then($iframe => { cy.wrap($iframe.contents().find("#J_Quick2Static"));
相关文章
相关标签/搜索