每当我键入 WebdriverIO 的软件包安装命令时,我都看不到 chromedriver 或 geckodriver 选项。
相反,我得到以下选项
Do you want to add a service to your test setup? (Press <space> to select, <a> to toggle all, <i> to invert selection,
and <enter> to proceed)
❯◯ vite
◯ nuxt
◯ firefox-profile
◯ gmail
◯ sauce
◯ testingbot
◯ crossbrowsertesting
使用 WebdriverIO v8.14 及更高版本,无需再手动下载和设置任何浏览器驱动程序,因为这是由 WebdriverIO 处理的。您所要做的就是指定要测试的浏览器,WebdriverIO 将完成剩下的工作。