Irctc has new version... so currently this script will not help you in any case... I have to update my script. though a user now can easily book tickets from irctc.co.in... for me the new interface is very easy to use and fast as compared to the old version.
1.chromedriver
2. Geckodriver (one can uncomment the firefox part in the code.. and can comment chrome webdriver part to use firefox