getFrameByName() and getFrameByIndex() methods for frame collections