simulate browser event