You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, thanks for maintaining this! It's a super useful tool :)
When using arc-cli, it appears that commands that accept a tab parameter always fail. Here's an example demonstrating this, if I run arc-cli info it works ok, but if I use the tab id with the -t flag then it silently fails.
$ arc-cli info
Id: 70C3FFA7-ADA8-4BED-9C3B-413DCFF409B8
Window id: B9FEDBCB-A1E3-4048-B88F-76525312F6C4
Title: prasmussen/chrome-cli: Control Google Chrome from the command line
Url: https://github.com/prasmussen/chrome-cli
Loading: No
$ arc-cli info -t "70C3FFA7-ADA8-4BED-9C3B-413DCFF409B8"
$
I've tested this with at least arc-cli execute too.
This is pure speculation, as I'm definitely not an Objective-C dev, but I believe the culprit is this line, as it appears that Arc tab ids are uuids, not integers that the line seems to suggest they are. From some brief testing, it looks like Chrome tab ids are indeed always integers.
The text was updated successfully, but these errors were encountered:
Firstly, thanks for maintaining this! It's a super useful tool :)
When using
arc-cli
, it appears that commands that accept a tab parameter always fail. Here's an example demonstrating this, if I runarc-cli info
it works ok, but if I use the tab id with the-t
flag then it silently fails.I've tested this with at least
arc-cli execute
too.This is pure speculation, as I'm definitely not an Objective-C dev, but I believe the culprit is this line, as it appears that Arc tab ids are uuids, not integers that the line seems to suggest they are. From some brief testing, it looks like Chrome tab ids are indeed always integers.
The text was updated successfully, but these errors were encountered: