我正在尝试添加.each语法,但收到错误“;丢失”或“需要分号”也在cypress上工作,因为没有;
.each
测试代码:
cy.get('.products').find('.product').each($el, index, $list) => { const VegName = $el.find('h4.product-name').text() ...
赛普拉斯版本:^12.11.0
arrow-functions cypress
arrow-functions ×1
cypress ×1