I am using Python selenium to automate my attendance entry. It was working fine, now I wanted to try by modifying the source code. I have seen few posts stating that it can be m
Try following solution and let me know if any issues occurs:
driver.execute_script("""document.querySelector("select[name='date1'] option").value="2016-09-07";""")
P.S. I advise you not to use absolute XPath in your selectors, but relative instead
XPath