Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python selenium set attribute of element

driver.execute_script("arguments[0].setAttribute('value',arguments[1])",element, value)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #selenium #set #attribute #element
ADD COMMENT
Topic
Name
8+9 =