added auto snapshot feature

after n seconds it'll fire click event on the button