Click "New post" -> "New note" (the XPath here doesn't appear to be terribly unique, but the "New note" element looks like it's in the page source when the menu isn't expanded, so maybe you can find the button containing the text "New note" inside of the button.pencraft > div.pencraft element hierarchy. Input dialog is only created once this button is clicked.):
Input text
Click "image attachment" button in lower left (again, not much help with unique class IDs, but there is a button.pencraft > input[type="file"] hierarchy that might work, not sure how detailed you'd need to be):
Attach image and post (again, not much help for XPath, but it is a button.pencraft element containing the text "Post")
I've been posting to substack notes.
Here's the procedure.
1. From the substack publisher's dashboard (url: https://freedomain.substack.com/publish/home)
2. Click "New post" -> "New note" (the XPath here doesn't appear to be terribly unique, but the "New note" element looks like it's in the page source when the menu isn't expanded, so maybe you can find the button containing the text "New note" inside of the `button.pencraft > div.pencraft` element hierarchy. Input dialog is only created once this button is clicked.):
![image](/attachments/2c5bea2e-cdd2-4f19-856e-46617107dd14)
3. Input text
4. Click "image attachment" button in lower left (again, not much help with unique class IDs, but there is a `button.pencraft > input[type="file"]` hierarchy that might work, not sure how detailed you'd need to be):
![image](/attachments/1f66fbd9-631a-4bd9-a145-844f2814d087)
5. Attach image and post (again, not much help for XPath, but it is a `button.pencraft` element containing the text "Post")
I've been posting to substack notes.
Here's the procedure.
From the substack publisher's dashboard (url: https://freedomain.substack.com/publish/home)
Click "New post" -> "New note" (the XPath here doesn't appear to be terribly unique, but the "New note" element looks like it's in the page source when the menu isn't expanded, so maybe you can find the button containing the text "New note" inside of the
button.pencraft > div.pencraft
element hierarchy. Input dialog is only created once this button is clicked.):Input text
Click "image attachment" button in lower left (again, not much help with unique class IDs, but there is a
button.pencraft > input[type="file"]
hierarchy that might work, not sure how detailed you'd need to be):button.pencraft
element containing the text "Post")Neglected to take a screenshot after the image is attached, it shows up at the bottom of the post.