To add selenium documentation to any project go to its properties -> java build path and click client-combined-node and then click the javadoc and then paste the below link in it http://seleniumhq.github.io/selenium/docs/api/java/index.html
But make sure to remove "/index.html" from the end.