chrome_remote
chrome_remote copied to clipboard
stack level too deep
require "chrome_remote"
chrome = ChromeRemote.client
chrome.send_cmd "Fetch.enable"
chrome.on "Fetch.requestPaused" do |obj|
chrome.send_cmd "Fetch.continueRequest", {
requestId: obj["requestId"]
}
end
chrome.listen
With the above code I eventually get: SystemStackError: stack level too deep
What am I doing wrong?
Can you share the stack trace?