Reduce redundancy in Working with a Browser