spectron
spectron copied to clipboard
Namespace 'WebdriverIOAsync' has no exported member 'Client'.
spectron: "9.0.0", webdriverio: "5.16.7"
when i type code app.client.click(), the vscode throws error Property 'click' does not exist on type 'SpectronClient'., and Namespace 'WebdriverIOAsync' has no exported member 'Client'.
Spectron is not yet compatible with Webdriver v5. So you should use v4, see:
- https://github.com/electron-userland/spectron/blob/1fdf0814ce661bb86b3bda446a1cf977562a2158/package.json#L35
- https://github.com/electron-userland/spectron/issues/349
- https://github.com/electron-userland/spectron/issues/497
Spectron is not compatible yet?