Click on link inside TextView class

Viewed 726

How can I access to click on 2nd link inside TextView? So far I tried:

  AndroidElement d = (AndroidElement) driver.findElement(By.xpath("//android.widget.TextView[@text='Notice']"));
    d.click();

And using:

driver.findElement(By.Id("com.optimum.rdvr.mobile:id/toc_text"));

just clicks on 1st link. And I need to get 2nd link. I want to click on "Mobile Privacy Notice" Any one has suggestion?

enter image description here

1 Answers
Related