A. Use WebDriverWait to wait for elements to appear or change states before interacting with them.