Is there a way I can render and test a webpage on a computer to check how it works on different mobile browsers, including rotation events and other device events?

Please tell me about some way by which i can render and test a webpage on a computer to check how it works on different mobile browsers, including rotation events and other device events.