Back to Selenium

CDP Bindings for Java

java/src/org/openqa/selenium/devtools/README.md

2.53.11.1 KB
Original Source

CDP Bindings for Java

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.bzl to 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/vXX to //java/src/org/openqa/selenium/devtools/vXX+1.
  • Do a search and replace in that directory, converting XX to XX+1
  • Add //java/src/org/openqa/selenium/devtools/vXX:vXX.publish version to the Rakefile.
  • Compile the code and fix the places where signatures have changed.