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
- Edit
//java/src/org/openqa/selenium/devtools:versions.bzlto include the new version number (and possibly delete the old one, we tend to support only the last 3 versions) - Copy the most recent
//java/src/org/openqa/selenium/devtools/vXXto//java/src/org/openqa/selenium/devtools/vXX+1. - Do a search and replace in that directory, converting
XXtoXX+1 - Add
//java/src/org/openqa/selenium/devtools/vXX:vXX.publishversion to the Rakefile. - Compile the code and fix the places where signatures have changed.