你也可以用它。更好用
CSS_SELECTOR
driver.find_element(By.CSS_SELECTOR,".account-container .loggedIn .svelte-2hymnw button")