pythonのseleniumである要素の2つ上の要素を取得したい場合、find_element(By.XPATH, “../..”)を実行すれば良い updated: 2025/12/09 created: 2025/12/09