When running the refresh command I get the error 'Error in invocation of windows.get(integer windowId, optional windows.QueryOptions queryOptions, function callback): No matching signature.'

Error in invocation of windows.get(integer windowId, optional windows.QueryOptions queryOptions, function callback): No matching signature.

What is strange is I get this error message and I just ran two macros on this same tab a minute before.
It acts like the page or even browser isn’t there but it most definitely is.

I clicked on a different tab. Clicked back to the original tab and reloaded the page. And just like that, it worked as expected. Wierd.