4. Locating Elements¶ There are various strategies to locate elements in a page. You can use the most appropriate one for your case. Selenium provides the following method to locate elements in a page: find_element To find multiple elements (these methods will return a list): find_elements Example usage: from selenium.webdriver.common.by import By driver.find_element(By.XPATH, '//button[text()="So