Skip to content

browse

Display a link to a given path or open link in a browser.

Examples

  • drush browse. Open default web browser (if configured or detected) to the site front page.
  • drush browse node/1. Open web browser to the path node/1.
  • drush @example.prod browse. Open a browser to the web site specified in a site alias.

Arguments

  • [path]. Path to open. If omitted, the site front page will be opened.

Options

  • --browser[=BROWSER]. Open the URL in the default browser. Use --no-browser to avoid opening a browser. [default: 1]
  • --redirect-port=REDIRECT-PORT. The port that the web server is redirected to (e.g. when running within a Vagrant environment).
  • --no-browser. Negate --browser option.

Legend

  • An argument or option with square brackets is optional.
  • Any default value is listed at end of arg/option description.
  • An ellipsis indicates that an argument accepts multiple values separated by a space.