diff --git a/src/money-forward/money.py b/src/money-forward/money.py index 17e5db3..076a901 100644 --- a/src/money-forward/money.py +++ b/src/money-forward/money.py @@ -19,25 +19,25 @@ def login(driver): login_id = driver.find_element( by=By.XPATH, - value="/html/body/main/div/div[2]/div/div/div[1]/section/form/div/div/input", + value="/html/body/main/div/div/div[2]/div/section/div/form/div/div/input", ) login_id.send_keys(os.getenv("id")) email_button = driver.find_element( by=By.XPATH, - value="/html/body/main/div/div[2]/div/div/div[1]/section/form/div/div/div[3]/button", + value="/html/body/main/div/div/div[2]/div/section/div/form/div/button", ) email_button.click() password_form = driver.find_element( by=By.XPATH, - value="/html/body/main/div/div[2]/div/div/div[1]/section/form/div/div/div[2]/input", + value="/html/body/main/div/div/div[2]/div/section/div/form/div/div[2]/input", ) password_form.send_keys(os.getenv("pass")) login_button = driver.find_element( by=By.XPATH, - value="/html/body/main/div/div[2]/div/div/div[1]/section/form/div/div/div[3]/button", + value="/html/body/main/div/div/div[2]/div/section/div/form/div/button", ) login_button.click() @@ -49,7 +49,7 @@ def login(driver): # choose account button choose_button = driver.find_element( by=By.XPATH, - value="/html/body/main/div/div[2]/div/div/div[1]/section/form/div/div/div[2]/button", + value="/html/body/main/div/div/div[2]/div/section/div/form/div/button", ) choose_button.click()