Kind of confused, but cant you just use the classname and the windowname to find it instead of using one or the other?