package testproject; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.*;
remove the dot(.) and star(*) from the xpath and give proper tag name in place of star.
for example if @id=gb is the id of div element, place div in place of star. Hope it will work.