我尝试使用命令提示符执行TestCafe脚本。在执行时,test cafe通过获取本地IP、端口号和会话ID以及URL来开始执行。我希望我的脚本直接在URL上执行,而不需要本地主机IP、端口和其他详细信息。当我在Test Cafe上执行我的脚本时,请参阅附件中的屏幕截图。Screenshot of test cafe script with local host IP, port 附件是在test Cafe上执行的测试用例的代码。 import { Selector } from 'testcafe';
import { Crypto } from 'testcafe