【发布时间】:2020-04-29 14:27:37
【问题描述】:
这里的菜鸟编码器,不假装是其他任何东西。
我正在尝试在 Testcafe 中编写一个选择器,根据文档(据我所知)这应该可以工作,但是它返回一个错误:
await t.click(Selector('span').withtext('Pending Applications').find(a.field-link.external-link))
它返回的错误是
TypeError: (0 , _exportableLib.Selector)(...).withtext is not a function
我做错了吗?
【问题讨论】:
标签: testing automation automated-tests e2e-testing testcafe