I've done all the portions using XPath but when I'm going to enter or post something on the wall then the error came like this::
Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element:/html/body/div[1]/div[3]/div[1]/div/div[2]/div[2]/div[1]/div[2]/div/div[3]/div/div/div[2]/div[1]/div/div/div[1]/span[1]/a/span[1]
My rest of the code is::
driver.findElement(By.xpath("//*[@id=\"email\"]")).sendKeys("---");
Thread.sleep(1000);
driver.findElement(By.xpath("//*[@id=\"pass\"]")).sendKeys("----");
Thread.sleep(1000);
driver.findElement(By.xpath("//*[@id=\"loginbutton\"]")).click();
Thread.sleep(3000);
// -------------------------------------------------------------------------------------
driver.findElement(By.xpath("/html/body/div[1]/div[3]/div[1]/div/div[2]/div[2]/div[1]/div[2]/div/div[3]/div/div/div[2]/div[1]/div/div/div[1]/span[1]/a/span[1]")).click();
Thread.sleep(4000);
driver.findElement(By.xpath("/html/body/div[1]/div[3]/div[1]/div/div[2]/div[2]/div[1]/div[2]/div/div[3]/div/div/div[2]/div[1]/div/div/div/div[2]/div/div[1]/div/table/tbody/tr/td[6]/div/a/div")).click();
Thread.sleep(4000);
driver.findElement(By.xpath("/html/body/div[1]/div[3]/div[1]/div/div[2]/div[2]/div[1]/div[2]/div/div[3]/div/div/div[2]/div[1]/div/div/div/div[2]/div/div[1]/div/div[1]/div[2]/div/div/div/div/div/div/div/div/div/div/span/span")).sendKeys("Hello to the Future");
Thread.sleep(2000);
Reply fast as if anyone know the issue