We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32bacf2 commit 7679ea2Copy full SHA for 7679ea2
README.md
@@ -100,6 +100,26 @@ More details [here](https://www.chromium.org/developers/applescript). Thanks to
100
chrome-cli chrome version (Print Chrome version)
101
chrome-cli version (Print application version)
102
103
+#### JSON output
104
+
105
+You can set the environment variable `OUTPUT_FORMAT` to json to get json output.
106
+For example:
107
108
+```
109
+$ OUTPUT_FORMAT=json chrome-cli list tabs
110
+{
111
+ "tabs" : [
112
+ {
113
+ "id" : 1869578516,
114
+ "title" : "Lobsters",
115
+ "url" : "https://lobste.rs/",
116
+ "windowId" : 1869578514,
117
+ "windowName" : "Lobsters"
118
+ }
119
+ ]
120
+}
121
122
123
## Examples
124
125
###### List tabs
0 commit comments