Interacting with Web Browsers via Automation Tasks - Alfred Blog
Summary
It supports every Task from the other groups and adapts its behaviour to the browser which is the frontmost app. A few caveats apply: because Webkit browsers (Safari, Orion) do not have AppleScript hooks to open Private Windows, that functionality is disabled for them. In that same vein, Arcs AppleScript support is limited (e.g. cannot get tabs from a single window) and strays from other Chromium browsers, so current support is restricted to tasks which interact with the frontmost tab. We will continue to adapt the Automation Tasks as browsers evolve their AppleScript functionality. Finally, this update brings with it general code improvements and other new tasks, including one to change the URL of the current tab and ways to strip leading and trailing arguments and lines of text.