Question: I'm using Watir-Webdriver to do automation testing. But it seem not stable for cross browser.
For example, it usually work fine in Firefox and Chrome but are not stable in IE.
When I get an element and do a click, in ie7,8,9 it response in a different ways.
The button can be clicked but nothings happen.
I've tried many ways like: click, click(), send\_key, fire\_event but I still haven't got the final solution for cross browser clicking.
For example, in ie9, when using click, sometime it works perfect, sometimes not, I don't know the reason.

Do we have a solution such as a function allow we to click successful in an element in multiple browsers (especially in IE7,8,9)?

Answer: 
You use `Arrays.toString(H.get("drdetroit"));`
Try this to print array values -

```
System.out.println(Arrays.toString(H.get("drdetroit")));

```

`H.get("drdetroit").toString()` returns array class name and @ and hashcode in hexString.

```
public String toString() {
    return getClass().getName() + "@" + Integer.toHexString(hashCode());
}

```