I've successfully sent a query to Google using window.location.href, but I'm stuck on how to submit the search form to view the results.
I have my javascript code that directs the window to Google with the query from the search-box, but I'm unsure how to proceed to submit Google's form.
const query = "hello";
const firstPart = "http://google.com/?q=";
window.location.href = firstPart + query;