How to use the Factory design pattern to create browser instances: the simple approach