I.attachFile('input[type=file]', 'test.txt');
我在 codeceptjs/protractor 中尝试 attachFile 函数。我得到这个错误。
TypeError:driver.execute 不是函数
chromeDriver:2.33
selenium-standalone:3.7.1
codeceptJS:1.0.3
"output": "./e2e/codeceptjs_tests/reports",
"helpers": {
"Protractor": {
"url": "http://localhost:4200/",
"driver": "hosted",
"browser": "chrome",
"rootElement": "body",
"smartWait":5000,