Pop-up form automatically appear after user visit

How to set up a pop-up form to appear 3 seconds after a user visits my website?

I typically use a hidden button as the trigger, and then write a piece of JS to click the button after N seconds.