Search Script is not working as Expected

Hi Team,

I am trying to test the flow of launching the website and Click on Search Button and entering search text and click enter.

I have tried the below scripts but it giving only main home page but not getting the search results page.

navigate https://www.myer.com.au/
setvalue id=masthead-search-term shirts
submitform id=masthead-search

navigate https://www.myer.com.au/
execAndWait document.querySelector(’.shirts’).click();

navigate https://www.myer.com.au/
execAndWait document.querySelector(‘shirts’).click();

Thanks and Regards,
M Ram Mohan
+91 7708776622