i want to get ID video from facebook
using vba selenium
on this page
my code

the problem is class element is dynamic
elements are always changing
any idea ?
using vba selenium
on this page
my code
VBA Code:
Set ch = New Selenium.ChromeDriver
ID = ch.FindElementByXPath ("//div[@class='x6s0dn4 x18l40ae x5yr21d x1n2onr6 xh8yej3']").Attribute("data-video-id")

the problem is class element is dynamic
elements are always changing
any idea ?