The WPE reference documentation should have a migration guide explaining the main differences between the 1.x and the 2.0 APIs, similar to this document from the GTK port documentation: https://webkitgtk.org/reference/webkit2gtk/unstable/migrating-to-webkitgtk-6.0.html