我有一个字段,您需要在其中为应用程序写一个名称.如果我try 通过类在Cypress中查找此字段,则会收到错误:
cy.type() can only be called on a single element. Your subject contains 40 elements.
如果这个元素没有"id、type"等,我应该如何引用它呢?
<div class="app-name-option"><label>App Name</label><input class="form-control" value=""></div>