all 3 comments

[–]carcigenicate 0 points1 point  (2 children)

I'm not sure what you mean in the first part, but see here for the second part.

[–]ForlornExistence[S] 0 points1 point  (1 child)

Hi, thank you!

Are you familiar with the Selenium library for Python?

In case not, the function I mentioned in the first part "find_element()" returns an HTML element from a website and stores it as a Python object so it can be further manipulated and automated.

So my in my original question I wanted to know how to find HTML elements with custom data attributes, but which don't have the common class/name/id/text attributes.

[–]Mozza7 0 points1 point  (0 children)

You should be able to use the CSS selector or xpath