Unable to get the correct iframe for the enter operation

Any idea what went wrong in this