There is a new browser - Arc from The Browser Company. After a few months of using it, I have to say "it's a perfect browser" but there is one piece which is missing already which is a Keyboard Maestro support.
This browser is based on Chromium, so I guess it may be possible to make actions like "Execute JavaScript in Front Browser" work in Arc. The same goes with tokens like %FrontBrowserURL%
@peternlewis is there any chance to get Arc Support in upcoming updates? Is there something you may need from them to do so? I may help with that.
If the browser supports the same AppleScript commands as Chrome, then you can add the bundle ID as a supported Google Chrome browser as described in the Preferences user manual section.
I've tested it and Tokens and Execute JavaScript in Front Browser works, but if I want to return any value from JavaScript (and save it to a variable) I get nothing - JS snippet works, but returned value is empty (missing value)
Came here to ask the same question…hmm. I can make this workaround work, but for the number of scripts I already have written…not sure it's worth it. Thanks for the example!
Any news on this? Came to ask the same thing. strike that, too soon.
I tried getting a var from Arc by resetting my settings like stated in this thread and I got title and url from the current page back from Arc with document.title and window.location.href
“Add additional Browsers to the Front Browser Actions, Tokens, and Functions.”
Since Arc is based on Chromium, Peter will certainly add it to the supported browser list at some point – provided it takes off of course (and I think that very likely).
When I try to find the BundleID for the Arc browser it returns "com.apple.Safari". I am triggering this with Arc as the front browser. Am I misunderstanding this token?
I just checked an Arc does not appear to support compatible AppleScript control and behaviour with Chrome. It may be similar, and may working in some cases, but it is not the same. For example, the New Front Browser Window action (with a specified URL) does not appear to work the same.