I have such HTML:
upload_input = $driver.find_element(:id, "//input[@name = 'coupon_file']")
$driver.execute_script "$('input').show();"
upload_input.send_keys file
I'm trying to upload a file but get the error:
no such element: Unable to locate element
