One step in my workflow is using the Automation Task "Run JavaScript in Chromium Browser Tab" to fetch specified text as page title. It works correctly in Google Chrome, but fails in the Arc browser.
The problem is the output of the Automation Task is always an empty string, regardless of the JavaScript it executes.
For example, the JavaScript is document.getElementById('productTitle').innerText to get the product title on an amazon product page. In Google Chrome, the output is the title returned by the code, but in Arc browser it is an empty string.
Automation Task
Debug information
For the product page: https://www.amazon.com/How-Take-Smart-Notes-Technique-ebook/dp/B09V5M8FR5
Arc browser
[00:10:05.828] Markdown[Automation Task] Running task 'Run JavaScript in Chromium Browser Tab' with no arguments
[00:10:05.992] Markdown[Automation Task] Processing complete
[00:10:05.994] Markdown[Automation Task] Passing output '' to Arg and Vars
[00:10:05.997] Markdown[Arg and Vars] Processing complete
[00:10:05.998] Markdown[Arg and Vars] Passing output '' to Copy to Clipboard
I also tested the with alert(document.getElementById('productTitle').innerText), it runs and alert the title, so the title is there, but seems cannot set to output.
Google Chrome
[00:13:05.706] Markdown[Automation Task] Running task 'Run JavaScript in Chromium Browser Tab' with no arguments
[00:13:05.916] Markdown[Automation Task] Processing complete
[00:13:05.917] Markdown[Automation Task] Passing output 'How to Take Smart Notes: One Simple Technique to Boost Writing, Learning and Thinking ' to Arg and Vars
[00:13:05.918] Markdown[Arg and Vars] Processing complete
[00:13:05.918] Markdown[Arg and Vars] Passing output 'How to Take Smart Notes: One Simple Technique to Boost Writing, Learning and Thinking ' to Copy to Clipboard
Tell me if you need more information, thanks.
==== update 2023-01-13 ====
The automation works correctly in Arc Browser.