spectron icon indicating copy to clipboard operation
spectron copied to clipboard

Namespace 'WebdriverIOAsync' has no exported member 'Client'.

Open zhaozhongyu opened this issue 4 years ago • 2 comments

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'.

zhaozhongyu avatar Nov 18 '19 03:11 zhaozhongyu

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

vladimiry avatar Feb 03 '20 19:02 vladimiry

Spectron is not compatible yet?

LucasSantosSilva avatar Oct 21 '21 14:10 LucasSantosSilva