I want to change the class name, but it doesn't work for me.
<div class="vcp-controls-panel vcp-playing hide">
FullXpath:
/html/body/div[1]/div/div/div/div[2]/div/div/div[1]/div[1]/div[1]/div/div[1]/div[3]/div/div[1]/div/div[1]/div[9]/div[4]
I want to change vcp-playing hide
to vcp-playing show
but it doesn't work
selects = driver.find_element_by_class_name("vcp-playing hide")
for select in selects:
driver.execute_script("arguments[0].setAttribute('class', 'vcp-playing show')", select)