Add selector for post owner ID

pull/73/head
MillenniumEarl 2021-03-03 11:43:07 +01:00
parent b1a71ac617
commit 2d7c98f685
1 changed files with 6 additions and 0 deletions

View File

@ -113,6 +113,12 @@ export const POST = {
* For use within a `THREAD.POSTS_IN_PAGE` selector. * For use within a `THREAD.POSTS_IN_PAGE` selector.
*/ */
ID: "span[id^=\"post\"]", ID: "span[id^=\"post\"]",
/**
* Unique ID of the post author in the `data-user-id` attribute.
*
* For use within a `THREAD.POSTS_IN_PAGE` selector.
*/
OWNER_ID: "* div.message-cell--user > * a[data-user-id]",
/** /**
* Main body of the post where the message written by the user is contained. * Main body of the post where the message written by the user is contained.
* *