Here is page im trying to upload file with selenium/python
<div class="form-group-inner photo-form-group-inner success icn-item"><span class="label">Photo ID</span><div class="photo-label-wrapper"><div class="photo-label btn_fix-width"><label for="photo" class="btn btn_fix-width btn_block border photo-btn">Upload</label></div></div><input type="file" id="photo" accept=".jpg,.jpeg,.png"></div>
I tried it via sendkeys Tried to change file type to text and apply path as well. In additional upload uses 3rd party service via api request to store images. While writing this post figured out that could try to send api request to get uploaded file code but how to put it to the page field css item in this case?
Thanks.