why sendkey selenium python method does not work in upload on instagram

Jacke met

Regular Member
Joined
Feb 13, 2022
Messages
282
Reaction score
107
any solution i tried to
Make it visible using javascript:
document.getElementById("documentfile").style.visibility = "visible";
and
change the type from button to file
driver.execute_script("document.evaluate(yourXpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue.setAttribute('type','file');");
Captzure.PNG

any suggestion ?
 
Back
Top