Jason Huggins was the first to invent selenium in the year 2004. He worked as an engineer at ThoughtWorks on a web application that required frequent testing.