Changing context in google chrome console

I need to know how do I switch between the javascript context in the chrome console in a pragrammatic way