I'm trying to change CSS style of an element (example: from "visibility: hidden;"
to "visibility: visible;"
) using selenium .execute_script
. (any other method through selenium+python would be accepted gracefully).
my code:
driver = webdriver.Firefox()
driver.get("http://www.example.com")
elem = driver.find_element_by_id('copy_link')
elem.execute_script( area of my problem )
what do i need to do in order to play with the CSS of the webpage ?