Protractor to WDIO Migration #26
Unanswered
rgprakash
asked this question in
Migration Issue
Replies: 1 comment
-
If you're trying to convert a ts file (TypeScript) try the --parser=ts option on the command line. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I am trying to migrate a protractor .js file which has set of reusable functions (click, setText etc.,). These functions will check for the state of element and then click or enter text. Sample code is attached.
When i try to migrate, i get the error ERR ./Base/CommonFunctions.ts Transformation error (Unexpected token (3:12))
SyntaxError: Unexpected token (3:12)
I
CommonFunctions.zip
How to handle these Protractor ExpectedConditions in WebDriverIO migration?
Beta Was this translation helpful? Give feedback.
All reactions