https://github.com/nightwatchjs/nightwatch-plugin-vue/blob/main/nightwatch/globals.js#L60 There is no way to say which host is hosting vite server, therefore browser(That may be on totally different host) may not be able to access it It defaults to localhost, which does not really work, it should be configurable somehow