I am currently working on WEBDRIVER IO Using TYPESCRIPT in VS code.I am using this before(){ browser.maximizeWindow(); } in wdio.conf.ts.It shows can not find any browser. It maximises the browser on run time. But in code it still shows can not find any browser. Not sure where the problem lies. Below is the screenshot of tsconfig.file
You haven't added "./wdio.conf.ts"
to include
array in tsconfig.json