【发布时间】:2016-12-26 14:50:23
【问题描述】:
我是 Robot Framework 的新手,但想问是否可以在启用 CORS 的情况下启动 Chrome 实例?
Run process open -n -a /Applications/Google\ Chrome.app/ --args --user-data-dir=/tmp/chrome_dev_session --disable-web-security --allow-running-insecure-content --new-window
上面的方法我都试过了,可惜运行的时候报错了
Keyword 'Process.Run Process' got positional argument after named arguments.
我也试过没有参数之间的双倍间距
Run process open -n -a /Applications/Google\ Chrome.app/ --args --user-data-dir=/tmp/chrome_dev_session --disable-web-security --allow-running-insecure-content --new-window
但出现以下错误
Keyword 'Process.Run Process' expected at least 1 non-keyword argument, got 0.
任何帮助将不胜感激。
谢谢
【问题讨论】: