WebdriverIO has better support for Typescript (https://webdriver.io/docs/typescript/) and write Selenium tests that are not flaky
git clone https://github.com/hieuxlu/jest-typescript-selenium.git
cd jest-typescript-selenium
npm install
npm run test