Hi Guys, What is wrong with the code below? I tried creating two or more methods all annotated with @Test in the same class but kept getting the squiggly error lines on the second on the method "void" and the method name "Search".
Highlighting void gives the message :void[] is an invalid type. Highlighting Search gives the message: Illegal modifier for parameter Search; only final is permitted.
What am I doing wrong?
I see multiple @Tests on various documents but when I trying writing mine I get error. Could someone please advise?
@Test
public void Homepage() {
WebDriver driver = new FirefoxDriver();
@Test
public void Search() {