tree: b69d022b78355554d48b70a581972962ebe0f551 [path history] [tgz]
  1. events/
  2. idealized/
  3. noop/
  4. v113/
  5. v114/
  6. v115/
  7. v85/
  8. BUILD.bazel
  9. CdpClientGenerator.java
  10. CdpEndpointFinder.java
  11. CdpInfo.java
  12. CdpVersionFinder.java
  13. Command.java
  14. Connection.java
  15. ConverterFunctions.java
  16. DevTools.java
  17. DevToolsException.java
  18. DevToolsProvider.java
  19. Event.java
  20. HasDevTools.java
  21. Message.java
  22. NetworkInterceptor.java
  23. README.md
  24. Reply.java
  25. SeleniumCdpConnection.java
  26. versions.bzl
java/src/org/openqa/selenium/devtools/README.md

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.