title: How to click the login button using Selenium with Python
body: <pre><code>&lt;div class="login" id="login"&gt;
  &lt;div class="top"&gt;
      &lt;div class="logo"&gt;&lt;/div&gt;
      &lt;div class="language"&gt;
          &lt;div class="language-show" ng-click="showLanguageList($event)"&gt;&lt;span title="English" class="current-language" id="current_language"&gt;English&lt;/span&gt;&lt;/div&gt;
          &lt;div class="language-list" id="language_list" style="display: none;" ng-click="changeLanguage($event)"&gt;&lt;div title="English" class="out" id="en" onmouseover='this.className="over"' onmouseout='this.className="out"'&gt;English&lt;/div&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;table class="middle" border="0" cellspacing="0" cellpadding="0"&gt;
      &lt;tbody&gt;&lt;tr&gt;
          &lt;td class="login-l"&gt;&amp;nbsp;&lt;/td&gt;
          &lt;td class="login-m"&gt;
              &lt;div class="login-part"&gt;
                  &lt;div class="line"&gt;&lt;/div&gt;
                  &lt;div class="login-error"&gt;
                      &lt;div class="inputValidTip ng-hide" ng-show="szErrorTip!=''"&gt;&lt;i class="error"&gt;&lt;/i&gt;&lt;label class="ng-binding"&gt;&lt;/label&gt;&lt;/div&gt;
                  &lt;/div&gt;
                  &lt;div class="login-user"&gt;
                      &lt;input class="login-input ng-valid ng-dirty" id="username" type="text" maxlength="32" placeholder="User Name" autocomplete="off" ng-model="username"&gt;
                      &lt;i class="icon-user"&gt;&lt;/i&gt;
                  &lt;/div&gt;
                  &lt;div class="login-item"&gt;
                      &lt;input class="login-input ng-pristine ng-valid ng-scope" style="display: none;" type="text" maxlength="16" ng-model="password"&gt;&lt;input class="login-input ng-valid ng-dirty" id="password" type="password" maxlength="16" placeholder="Password" ng-model="password" pigsney=""&gt;&lt;span class="pigsney close" style="left: 210px; top: 7px; display: inline-block;" onselectstart="return false;"&gt;&lt;/span&gt;
                      &lt;i class="icon-pass"&gt;&lt;/i&gt;
                  &lt;/div&gt;
                  &lt;div class="login-item bottom"&gt;
                      &lt;span class="pwd-link ng-binding ng-hide" ng-click="forgetPwd()" ng-show="oCap.bSptGuidImport || oCap.bSptQAReset" ng-bind="oLan.forgetPwd"&gt;Forgot password?&lt;/span&gt;
                      &lt;button class="btn btn-primary login-btn" type="button" ng-click="login()"&gt;&lt;label class="ng-binding" ng-bind="oLan.login"&gt;Login&lt;/label&gt;&lt;/button&gt;
                  &lt;/div&gt;
                  &lt;!--&lt;div class="login-item anonymous" ng-show="anonymous"&gt;
                      &lt;span ng-bind="oLan.anonymous" ng-click="login('anonymous')"&gt;&lt;/span&gt;
                  &lt;/div&gt;--&gt;
              &lt;/div&gt;
          &lt;/td&gt;
          &lt;td class="login-r"&gt;&amp;nbsp;&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
  &lt;div class="footer" id="footer"&gt;&lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>I want to lick login button.</p>
  
  <pre><code>button class="btn btn-primary login-btn" type="button" ng-click="login()
  </code></pre>
  
  <p>How can I find this element?
  I used Python.
  And, <code>find_element_by_css_selector()</code>.</p>
  
  <p>The web source is from some embedded machine. So, I can't use the Chrome.
  I can't find the xpath on IE because I am a beginner.</p>
  
  <p>Please, help me!</p>