How to keep application in background?

How to keep TV app in background while it opens browser and get to background?

How to terminate browser after application gets some string from browser?