from selenium import webdriver
from selenium.webdriver.common.by import By #тк к нему обращение напрямую по имени
driver=webdriver.Chrome('C:\\chromedriver_win32\\chromedriver.exe')
page1='https://steamcommunity.com/openid/login?openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.mode=checkid_setup&openid.return_to=https%3A%2F%2Fauthsb.trade%2Flootlogin.php&openid.realm=https%3A%2F%2Fauthsb.trade&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select'
driver.get(page1)
driver.find_element(By.XPATH, f'//*[@id="steamAccountName"]').send_keys('xxx')
driver.find_element(By.XPATH, f'//*[@id="steamPassword"]').send_keys('yyy')
driver.find_element(By.XPATH, f'//*[@id="imageLogin"]').click()