human
Write value to hidden element with selenium python script
assistant
Here is some code to add one to the hidden web element with id 'XYZ' with selenium python script

browser.execute_script("document.getElementById('XYZ').value+='1'")

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.