Click elements within an iframe

thanks a lot for reply, you mention we can use the frame.locator() ? I’m not sure since I did not find this method in document Frame