String locator,
Integer position,
String parentType,
String parentLocator,
Integer parentPosition ) throws Throwable {
ElementStub parent = find( parentType, parentLocator, parentPosition );
if ( exists( parent ) ) {
// If parent doesn't exist, then the element will not be found and that's the same as not visible
ElementStub stub = find( type, locator, position, parent );
assertFalse( isVisible( stub ) );
}
}