added selenium documentation
added error handling
merging