How to run two keycloak instances in same browser

I want to setup two keycloak instances as one instance is worked as a service provider and one instance worked as a identity provider so how can i do that?