How to close the Web browsers in Shell Script?

Hi, Is there anyway to close all the Open tabs in Web Browser via Shell Script.

Like browser.close( ) or something like that.

Pls do help me soon,

Thanks in Advance :slight_smile:

Well... which browser?

Shell is not javascript, it doesn't have that level of access from the outside.

Some might allow you to do a few very basic things from shell, but they're not all alike.