this post was submitted on 26 Dec 2023
1 points (55.6% liked)

Selenium Web Browser Automation

91 readers
3 users here now

Users forum for selenium browser testing. Do not advertise here.

founded 1 year ago
MODERATORS
 

Hi, so I post around 30 facebook market place ads a month, its a super tideious task and could easily be done by a computer. The issue is, is that facebook has such a weird structure when I inspect elements. the image attached is a example of it, the class names are this weird code, and I cant find any names, ids, on these elements to give to Selenium. at the moment I use py auto GUI + selenium to click around the web page, but this is super hard coded and doesn't work all the time. so please let me know what you guys recommend

you are viewing a single comment's thread
view the rest of the comments
[โ€“] surewhynotlem 2 points 6 months ago (1 children)

You could use autoIT, or something with an x,y coordinate click.

[โ€“] arm321 2 points 6 months ago

its hard coded that way, i really don't like that approach, one that I use at the moment is py auto gui