added a lib file for capybara crawl