Connecting to Mainframe

Hi,

Has anyone automated browser based terminal emulator. What is the connection string/type we have to use. Kindly help.

Thanks.