This library deals with the highly platform specific task of opening a web page. In addition, is provides a mechanism similar to absolute_file_name/3 that expands compound terms to concrete URLs. For example, the SWI-Prolog home page can be opened using:
?- www_open_url(swipl(.)).
browser 
is set and this is the name of a known executable, use this. The flag 
may be set to Command-Mode, where mode is one of fg 
or bg, requesting Command to run in foreground or 
background mode. Default is bg.win_shell(open, URL)xdg-open,
open or gnome-open.BROWSER is set and this is 
the name of a known executable, use this.existence_error(url_path, Spec) if the location is not 
defined.