Locals did not upload custom thumbnail #8
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As it says on the tin.
id of input element is randomly? generated on page load.
If it's the only file
inputon the screen, you can do//input[@type="file"]. Perhaps you can scope it withindiv[class="uploadfile-wrapper"]ordiv[class="custom-thumb-uploader"]if there are others.It's been a while since I've done XPath, but something like this should (hopefully) work:
//div[@class="custom-thumb-uploader"]//input[@type="file"]https://devhints.io/xpath
I tried this and a couple other ways, but sadly could not get it to work.
I was able to figure out a way to generate the Xpath using another element above it.
I need to spend a bit of time and expand my knowledge of xpaths, thanks for the devgints website