open a website using python without browser code example
Example 1: how to close an application from python
import os
os.close(filename);
Example 2: code to launch browser using javascript
JavascriptContext.addJavascriptCall(FacesContext.getCurrentInstance(),
"window.open('printerFriendly.html','Print',,'width=300','height=200','menubar=yes',
'status=yes','location=yes','toolbar=yes','scrollbars=yes')");