To remove the attribute disabled="" you can use the following line of code: driver.execute_script("arguments[0].removeAttribute('disabled')", element)