Automated testing of an online form

Hello, I have a complex online referral form that I’d like to create automated test scripts for. I’ve looked at Selenium and I’m hopeful but does anyone have any recommendations?