title: How to test AWS Lambda handler locally using NodeJS?
body: <p>I am following <a href="https://medium.com/@Moatazeldebsy/ui-testing-using-selenium-webdriver-and-chrome-inside-aws-lambda-77a17ec64862" rel="noreferrer">these</a> instructions to create a basic web scraper that executes in Lambda.  I have experience writing selenium code, but not with Node JS.  I got the project running in Lambda, but when I tried editing the project locally in order to execute the selenium code I want, It doesn't work.  Anything in the <code>exports.handler</code> doesn't get executed when I run <code>node index.js</code>.  How would I execute this project locally?  Thanks!</p>