browser test snippet