use a context manager
use a cross-platform browser opener