Before going through these steps, make sure the needed protocol file definitions are in the tree. Check this README for more information.
They are typically downloaded from the devtools source
//java/src/org/openqa/selenium/devtools:versions.bzl to include the new version number (and possibly delete the old one, we tend to support only the last 3 versions)//java/src/org/openqa/selenium/devtools/vXX to //java/src/org/openqa/selenium/devtools/vXX+1.XX to XX+1//java/src/org/openqa/selenium/devtools/vXX:vXX.publish version to the Rakefile.