Install ROS2 Humble
Install ROS2 webots package (will install webots):
Create a ros2 workspace:
Follow webots tutorials:
https://docs.ros.org/en/iron/Tutorials/Advanced/Simulators/Webots/Setting-Up-Simulation-Webots-Basic.html
https://docs.ros.org/en/iron/Tutorials/Advanced/Simulators/Webots/Setting-Up-Simulation-Webots-Advanced.html#
For advanced tutorial 2, here, need to add Node import for it to work:
from launch_ros.actions import Node