Just starting out with protractor and currently using version 4.0.2
However, I encountered an error with the protractor
keyword when implementing the following code:
import { browser } from 'protractor/globals';
let EC = protractor.ExpectedConditions;
Error Message:
[ts]
Cannot find name 'protractor'.
Is there a specific import that needs to be added here?
I also referred to this post on Stackoverflow regarding the issue: 'ExpectedConditions' does not exist on type 'typeof protractor'. Unfortunately, it did not resolve the problem.