Unable to locate element for a website

Unable to inspect search label in www.walmart.com website. Any help much appreciated.

tried using css , id , etc but nothing helped. All the below code i tried but it didn’t helped.

driver.findElement(By.id(“global-search-input”)).sendKeys("[email protected]");
driver.findElement(By.xpath("//*[@id=‘global-search-input’]")).sendKeys(“dssss”);
driver.findElement(By.cssSelector(“input[placeholder = ‘Search’]”)).sendKeys(“adahadha”);

Can somebody help me here.

What is your error? Unable to locate element? It also looks like you’re on the wrong page. Are you testing this on Walmart home page or the Login page?

i am trying in Walmart Home page. When http://www.walmart.com opens i am trying to got to the search bar on top and write something there.

driver.finde;ement(By.id(“header-search-input”).sendKeys(“abc”)
Try This