title: Python Selenium Multiple buttons with same class
body: <p>I'm trying to launch into a platform with help of selenium chromedriver in python. 
  But the platform offers Demo and real accounts which offers multiple click buttons with same class name. Please see the code below </p>
  
  <pre><code>&lt;input type="hidden" name="username" value="username"&gt; == $0
  &lt;input type="hidden" name="password" value="password"&gt; == $0
  &lt;button type="submit" class="btn btn-launch" ng-transclude=""&gt;&lt;button class="platform-btn ng-scope"&gt;Launch platform&lt;/button&gt;&lt;/button&gt;
  &lt;button class="platform-btn ng-scope"&gt;Launch Platform&lt;/button&gt;
  
  
  &lt;input type="hidden" name="username" value="username_demo"&gt; == $0
  &lt;input type="hidden" name="password" value="password"&gt; == $0
  &lt;button type="submit" class="btn btn-launch" ng-transclude=""&gt;&lt;button class="platform-btn ng-scope"&gt;Launch platform&lt;/button&gt;&lt;/button&gt;
  &lt;button class="platform-btn ng-scope"&gt;Launch Platform&lt;/button&gt;
  </code></pre>
  
  <p><strong>Xpath code</strong></p>
  
  <p>Real </p>
  
  <pre><code>/html/body/ui-view/ui-view/div/div/div/div/div/ui-view/section/table/tbody/tr[1]/td[8]/tc-platform-launch/form/button/button
  </code></pre>
  
  <p>Demo </p>
  
  <pre><code>/html/body/ui-view/ui-view/div/div/div/div/div/ui-view/section/table/tbody/tr[3]/td[8]/tc-platform-launch/form/button/button
  </code></pre>
  
  <p>How can I launch demo and real account in selenium python???</p>