Fetching Json data from API

PS: You do not need to open a new browser window. ExecuteScript will insert and run the JS in any web page that is currently loaded. Just avoid pages like Github that block external JS due to a strict Content Security Policy (CSP).