The first one executes the script
While the second one executes and verifies the returned result
The question is how to get the result from JS execution and store in the buffer?
For example, I want to take the active tab title by executing this JS command which works in browser console
document.querySelector('html head title').textContent;
Now, how to store the value of that command in the buffer?
Best answer by brendon.russellView original