Open Browser

I've created simple code to open a browser and youtube video without any errors, but i receive a message about cookies and then a screen that asks me to use the right-arrow or return to activate, but nothing happens. Can someone explain?

The code that is trying to open the browser is running on our machines. There is no screen for the browser to open on, so we open a text mode browser.