Im trying to upload an image to facebook and im unable to click on the Add photo and video button.
When im looking at the html this is the element im trying to click:
<input aria-label="Add Photo or Video" accept="video/*, video/x-m4v,
video/webm, video/x-ms-wmv, video/x-msvideo, video/3gpp, video/flv,
video/x-flv, video/mp4, video/quicktime, video/mpeg, video/ogv, .ts, .mkv,
image/*, image/heic, image/heif" containerclassname="_5g_r" multiple=""
name="composer_photo[]" display="inline" role="button" tabindex="0" data-
testid="media-sprout" type="file" class="_n _5f0v" id="js_17y">
im trying to find the elment by id:
driver.find_elment_by_id("js_17y").click()
and im getting:
selenium.common.exceptions.NoSuchElementException: Message: no such element