In my program, I try to find a css address then I do some other computations. I need to execute the next line of my code if FolderTest1 is null.
WebElement FolderTest1 = driverChrome.findElement(By.cssSelector("#nav-51846c7840975f97241367"));
driverChrome.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);
Thanks