简体   繁体   English

使用发布请求参数从终端启动google-chrome

[英]Launch google-chrome from terminal with post request parameters

I know how to launch google-chrome from terminal with a specific url. 我知道如何从具有特定网址的终端启动google-chrome。

google-chrome http://klavogonki.ru/create/

Url that I launch that way has a plenty of form inputs that I must to fill. 我以这种方式启动的网址具有许多必须填写的表格输入。 Ideally I want to launch google-chrome from terminal and get all form inputs already filled with predefined parameters and automatically submit form. 理想情况下,我想从终端启动google-chrome并获取所有已使用预定义参数填充的表单输入,然后自动提交表单。 I wondering is there any way to do it, maybe some flags for a google-chrome? 我想知道有没有办法做到这一点,也许有一些谷歌浏览器的标志? Thanks. 谢谢。

Try with quotes google-chrome "http://example.com" 尝试使用引号google-chrome "http://example.com"

or in the new window google-chrome --new-window="http://example.com" 或在新窗口中google-chrome --new-window="http://example.com"

or as an app google-chrome --app="http://example.com" 或作为应用google-chrome --app="http://example.com"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM