Python Selenium Set Atribute de elemento
driver.execute_script("arguments[0].setAttribute('value',arguments[1])",element, value)
Jealous Jay
driver.execute_script("arguments[0].setAttribute('value',arguments[1])",element, value)