Update TwitToMast.js

minor correction to tweetURLXPath to ensure consisitency
This commit is contained in:
Penelope Gomez / Pogmommy 2023-02-07 19:50:00 -07:00
parent d5bbb7d5c2
commit f35b6de5ab

View file

@ -184,7 +184,7 @@ const threadIndicatorXPath = `/div/div/div/article/div/a/div/div[2]/div/span`; /
const tweetTextXPath = `//div[@data-testid="tweetText"]`; //xpath that leads to div containing all tweet text const tweetTextXPath = `//div[@data-testid="tweetText"]`; //xpath that leads to div containing all tweet text
const tweetURLXPath = `//div/a[contains(@href, 'status')]`; //xpath to tweet url const tweetURLXPath = `//div[3]/a[contains(@href, 'status')]`; //xpath to tweet url
const singleImageXPath = `//div[2]/div/img[@alt="Image"]`; //xpath to image that reveals if a tweet has one image const singleImageXPath = `//div[2]/div/img[@alt="Image"]`; //xpath to image that reveals if a tweet has one image