let element: HTMLElement = document.getElementsByClassName('btn')[0] as HTMLElement; element.click();