I get an element like
cv_upload = driver.find_element_by_id('id_cv_upload')
So I want to set its display as inline in python itself.is it possible with python to set the display.
I tried
cv_upload.style.display = "inline"
which is showing me error.
One way which is getting into my mind is to use Jquery to change the display and then execute it using driver.execute but unfortunately I am not getting the right syntax to do this. Let me know how to do this (The syntax.) Thanks.
Finally find out the way to set display of an element.
basically using
driver.execute_scriptI am executing a java script for setting the style of an element.