Simuler Click TypeScript
let element: HTMLElement = document.getElementsByClassName('btn')[0] as HTMLElement;
element.click();
Smoggy Sardine
let element: HTMLElement = document.getElementsByClassName('btn')[0] as HTMLElement;
element.click();