Add support for custom browser instances