Question: I have this code that's been giving me an unexpectedly wrong result that i couldn't solve :

```
// A method that calls the collectDataRDD(logValues, rowData) method :

// ....
// my collectDataRDD(Values, rowData) method : 

```

The problem is that when i try to run methods like getStatus() or getValidationDate() on Data Objects which are the values of my Tuple2, it only gives one output for all the objects in my JavaRDD which is wrong, because the JavaRDD contains multiple different Objects. However when i checked the keys of my tuple2 it gave me correct results.

I have tried everything and still couldn't figure it out. Can anyone please help me solve this.
THanks a lot in advance.

Answer: 
Did you try with:

```
wait.until{driver.find_element(:link_text,'DYNAMIC UTLITIES').click}

```

?? Sometimes I had to use the text link by capitalized.

Another option could be:

`driver.find_element(:xpath, "//a[contains(@target, 'mainFrame')]").click`

Hope works for you :D
The item you consider to be a `link text` (`dynamic_Utility_Index.htm`) actually just a value of `href` attribute. Actual link text is `"Dynamic Utilities"`. Also you can use `xpath` locator `//a[@href="dynamic_Utility_Index.htm"]` instead of search by link text:

```
wait.until{driver.find_element(:xpath,'//a[@href="dynamic_Utility_Index.htm"]').click}

```