Within 1 to 2 months, you can able to learn selenium. In order to learn it, you have to know the basic concepts of certain programming languages such as python, java or PHP.