Active
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 May 2018 at 13:46 UTC
Updated:
3 May 2018 at 21:10 UTC
Jump to comment: Most recent
Both https://www.drupal.org/project/drupal/issues/2911319#comment-12597982 and https://cgit.drupalcode.org/drupal/tree/core/scripts/run-tests.sh#n1526 open up a browser based upon a link
Provide a generic functionality both places and maybe other scripts could use.
Comments
Comment #2
mglamanHere's a trait I used in Console applications: https://github.com/mglaman/platform-docker/blob/develop/src/BrowserTrait...
Should it be a trait, or a class in Drupal\Component\Utility?
Comment #3
dawehnerIt feels like something outside of the Utility dumping ground could be nice. Imagine something you could pull in yourself.
Comment #4
mglamanSo a library in its own namespace somewhere, not even within the core repository?
Comment #5
dawehnerWell, I was thinking about Drupal\Component\CLI or so?
Comment #6
mglamanThat makes more sense. A namespace for generic CLI interactions.