Of course, we need to find the maven dependency for Selenium where you can find it here. I am planning to use 2.39.0 in this case because it seems like it has the highest adoption rate.
And here is how you can grab a webpage in one line using Selenium.
Of course, there are tons of things that need to add into this protocol like error handling etc.
But at least, we have a straw man right now!