我正在尝试使用VS CODE编辑器在量角器中使用浏览器的多个实例进行调试。
通常,当我运行e2e测试而不进行调试时。 chrome浏览器的所有8个实例都打开。
好像调试一样,我得到以下错误:
[14:16:25] W/launcher - getMultiCapabilities() will override both capabilities and multiCapabilities
logger.js:158
[14:16:25] I/launcher - Running 8 instances of WebDriver
logger.js:158
[14:16:25] I/testLogger -
logger.js:158
------------------------------------
[14:16:25] I/testLogger - [chrome UNIX #01] PID: 4635
logger.js:158
[chrome UNIX #01] Starting inspector on 127.0.0.1:18076 failed: address already in use
[14:16:25] I/testLogger -
logger.js:158
[14:16:25] E/launcher - Runner process exited unexpectedly with error code: 12
logger.js:158
[14:16:25] I/launcher - 7 instance(s) of WebDriver still running
我想启动8个浏览器实例并在vs代码中进行调试。