based on the CSS by the findElement(By.id(“someId”)) By.id value of their “id” finds a link by findElement(By.linkText(“REGISTRATION”)) the exact text it by the findElement(By.name(“someName”)) By.name value of the findElement(By.partialLinkText(“REG”))
based on the CSS By.id by the value of their “id” findElement(By.id(“someId”)) finds a link by the exact text it findElement(By.linkText(“REGISTRATION”)) By.name by the value of the findElement(By.name(“someName”)) findElement(By.partialLinkText(“REG”))
Selenium-Notes.docx