Safari launches only apple.com on triggering my script in Real Device

I have installed

1.iosdebug-proxy and its up and running
2.Safari Launcher successfully installed

When i run my script instead of inject my URL it by default takes to apple.com and stays for while and nothing happens later.

Kindly help me.

Thanks,
Sathya