title: Selenium with Python - find elements of more than one css class
body: <p>I need to lookup a list of items that have various css classes, but have them returned in a single list, so I can loop through it, in below case I need to pick up all 4 items.</p>
  
  <pre><code>&lt;li class="dropdown"&gt;
  &lt;li class="dropdown"&gt;
  &lt;li class="dropdown"&gt;
  &lt;li class="dropdown right"&gt;
  </code></pre>
  
  <p>I'm trying the below patterns, but it does not work.</p>
  
  <pre><code>menuItems = browser.find_elements_by_xpath('//li[@class="dropdown"|@class="dropdown right"]')
  
  menuItems2 = browser.find_element_by_class_name('dropdown' | 'dropdown right')
  </code></pre>