I am using Selenium Python to find buttons on a specific website.
The Problem: I looking for two classes. So I want to create one list containing elements, that contains all elements that are attached either to one or another class. How can I do that? I thought of something like this:
buttons = self.find_elements_by_xpath("//button[@class='classA.classA']" or "//button[@class='classB.classB']")
but of course it does not work.