1 2 3 4 5
declare namespace WebdriverIO { interface Element { chooseFile: (path: string) => Promise<void> } }