想要自动化:

我的代码:

cy.get('[role=presentation]') cy.get('[role=row]').find('td')
.get('[role=gridcell]').eq(9).click().wait(2000)
cy.get('[role=listbox]').get('[role=option]')
cy.contains('[role=option]', 'Numeric').click()
Run Code Online (Sandbox Code Playgroud)
如果列表包含带有该文本的其他值,如何从列表中仅选择“数字”。