整合 wdio selenium standalone service
最近 WebdriverIO 又 release 一個新的 service,這個 service 主要是整合 selenium standalone package,不需要另外執行 selenium-standalone start,它會在背後自動 hook 做這件事。
使用上也非常的簡單,只要原本的測試專案安裝,新增的 service npm i wdio-selenium-standalone-service -D,並編輯 wdio.conf.js 加入 services: ['selenium-standalone'], 設定即可。
Ref