Agree, but there is some advance in selenium, compared with 90's technology such as PERL, if I heard correctly.
For example, even if the webpage is changed a little bit by webmaster, selenium can detect and adjust it by use of DOM.
Back in 90's, there was no concept of DOM.