【问题标题】:failed because this element is disabled失败,因为此元素已禁用 【发布时间】:2022-08-18 03:44:13 【问题描述】: 你好。 我有时会遇到柏树错误,但有时会通过测试。 我已经尝试了一切,但我需要它始终工作 标签: cypress 【解决方案1】: 您必须添加 force: true 才能单击禁用按钮: cy.get('x.forward_button1').click({force: true}) 【讨论】: