chrome-cli
chrome-cli copied to clipboard
presentation mode error
trafficstars
I'am experiencing some unexpected termination with presentation mode.
My environment.
$ chrome-cli version
1.5.0
$ chrome-cli chrome version
58.0.3029.33
Errors with presentation mode.
$ chrome-cli list tabs
[6852] prasmussen/chrome-cli: Control Google Chrome from the command line
$ chrome-cli presentation -t 6852
2017-04-05 10:17:15.131 chrome-cli[90427:7334739] -[GoogleChromeWindow enterPresentationMode]: unrecognized selector sent to instance 0x7fff0fcc2360
2017-04-05 10:17:15.145 chrome-cli[90427:7334739] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[GoogleChromeWindow enterPresentationMode]: unrecognized selector sent to instance 0x7fff0fcc2360'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffa87b0e7b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffbd39acad objc_exception_throw + 48
2 CoreFoundation 0x00007fffa8832cb4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fffa8722fb5 ___forwarding___ + 1061
4 CoreFoundation 0x00007fffa8722b08 _CF_forwarding_prep_0 + 120
5 chrome-cli 0x0000000100297845 -[App enterPresentationModeWithTab:] + 130
6 chrome-cli 0x0000000100299c0b -[Handler call:] + 443
7 chrome-cli 0x000000010029920b -[Argonaut run] + 85
8 chrome-cli 0x000000010029a34e main + 1548
9 libdyld.dylib 0x00007fffbdc7e255 start + 1
10 ??? 0x0000000000000004 0x0 + 4
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[1] 90427 abort chrome-cli presentation -t 6852
It seems that Google removed presentation mode from Chrome starting with Chrome 49. https://bugs.chromium.org/p/chromium/issues/detail?id=538872
Could we get chrome-cli to trigger full-screen mode when requesting presentation mode?