driver.findElement(By.linkText(“Google”)).click();
This command finds the element using link text and then click on that element. Thus, the user would be re-directed to the corresponding page.