Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Protractor 6 TypeScript issue - compilation issue 6.0.0 #5192

Description

@delagen

Bug report

  • Node Version: 11.12.0
  • Protractor Version: 6.0.0
  • Operating System and Version Windows 10
.../protractor/built/index.d.ts(7,10): error TS2305: Module '"selenium-webdriver"' has no exported member 'Actions'.

protractor/built/index.d.ts(22,46): error TS7016: Could not find a declaration file for module 'selenium-webdriver/lib/command'. '.../selenium-webdriver/lib/command.js' implicitly has an 'any' type.
  Try `npm install @types/selenium-webdriver` if it exists or add a new declaration (.d.ts) file containing `declare module 'selenium-webdriver/lib/command';`

.../protractor/built/ptor.d.ts(5,26): error TS7016: Could not find a declaration file for module 'selenium-webdriver/lib/command'. '.../selenium-webdriver/lib/command.js' implicitly has an 'any' type.
  Try `npm install @types/selenium-webdriver` if it exists or add a new declaration (.d.ts) file containing `declare module 'selenium-webdriver/lib/command';`

.../protractor/built/ptor.d.ts(25,31): error TS2339: Property 'Actions' does not exist on type 'typeof import("selenium-webdriver")'.

.../protractor/built/ptor.d.ts(33,17): error TS2307: Cannot find module './selenium-webdriver/lib/input'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions