How to open a new tab in Chrome from Cr-48 shell?

I have Cr-48(Google Chrome laptop) in developer mode and you can go to the bash shell by running the "shell" command in crosh. I would like to open a new tab for a specific URL by typing a command in this shell. For example, I would like to run something like "chrome http://www.google.com " in the shell to open a new tab showing Google Search.

There is / opt / google / chrome / chrome in the root file system, but it does not do what I want.

Background Information:

I installed Perl, Vim, and TwitVim on a Cr-48. The only thing that does not work is the commands that launch the browser from TwitVim. To do this, TwitVim makes a system () call to start chrome with the URL as an argument. Until I find out which binary will be executed Cr-48for this, this functionality will not work.

+3
source share

Source: https://habr.com/ru/post/1788312/


All Articles