Just thought if we can use Sendkeys, where it is getting stuck.
I opened the page manually and tried to press enter on I Agree page and that worked.
What can be the code for sendkeys, read it somewhere that we have to use application.sendkeys({ENTER}).