尝试运行我的夜班项目时,出现了npm run project_one,我收到了此回复。 There was an error while starting the test runner:
Error: Cannot read source folder: /Users/BenyJo/examples/tests
at /Users/BenyJo/node_modules/night
我知道我可以使用waitForSelector来测试某个特定元素是否准备就绪,但JavaScript呢? this.waitForSelector('#someid', function _then() {
// do something that requires js to be fully loaded and functional
// before clicking