This can all be done with the :update_cdp
rake task now
But keeping for future reference…
Index of instructions for updating a Chromium DevTools version
Add *.pdl
files — https://github.com/SeleniumHQ/selenium/blob/trunk/common/devtools/README.md
https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/devtools/README.md
Update Build file — https://github.com/SeleniumHQ/selenium/blob/trunk/py/BUILD.bazel
https://github.com/SeleniumHQ/selenium/blob/trunk/rb/lib/selenium/devtools/README.md
Update Build file — https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/BUILD.bazel
https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/src/webdriver/cdp/README.md
Might as well take this opportunity to update them:
bazel run //scripts:pinned_browsers > common/repositories.bzl.foo
mv common/repositories.bzl.foo common/repositories.bzl
buildifier --mode fix --lint fix -r common/repositories.bzl