I am trying to learn web scraping, even though I checked the examples in the documentation and some questions here at stack I cannot make my code work.
The website I want to scrape has job listings, but there is no pattern or fixed classes on it's structure, almost each element has his own id and individual classes. When I use the inspector to find the xPath of a innerHTML from a anchor tag that it's what I got:
With Firefox:
/html/body/div[1]/div/main/div[3]/div/div/section/ul/li[1]/article/header/div/div[1]/h2/a
With Brave Browser:
//*[@id="16542952"]/section/div/header/h2/a
Same url, and same element, first Job Title from results.
I want to loop throug the page and get the text from some elements in the Job Listings, like the Job Title, Description, etc.
I am using selenium with Python and Firefox/geckodriver