Use the Web Developer Tools to turn off the internet via the Network tab.