title: .click() does nothing on debian vps selenium phantomjs
body: <p>I need to click on a button that is submitting a form, using selenium and phantomjs webdriver.</p>
  
  <p>I currently have the following code that is working great on my local computer (under archlinux)</p>
  
  <pre><code>driver.find_element_by_id("lbc_submit").click()
  </code></pre>
  
  <p>Before calling this code i ensure that the element i click on is present with selenium expected condition.</p>
  
  <p>When i execute the same code with the same webdriver (both same version) on a debian vps server the element is present as i have no exception when i click on it but nothing is happening.</p>
  
  <p>Here is the html of the input (inside a form) :</p>
  
  <pre><code>&lt;input class="button-blue" value="Valider mon annonce" name="create" id="lbc_submit" type="submit"&gt;
  </code></pre>
  
  <p>I tried the following but none of that works :</p>
  
  <ul>
  <li>Clicking using javascript</li>
  <li>Submitting using javascript</li>
  <li>Change phantomjs webdriver to chrome webdriver</li>
  <li>Wait with a sleep before clicking to ensure everything is loaded</li>
  <li>Using .submit() selenium method</li>
  </ul>
  
  <p><strong>Edit - more information</strong></p>
  
  <p>Here is the pastebin to the entire form where the button i click is (line 172):</p>
  
  <p><a href="https://pastebin.com/ehax7mkQ" rel="nofollow noreferrer">https://pastebin.com/ehax7mkQ</a></p>
  
  <p>My code block :</p>
  
  <pre><code>def validate_ad(browser):
      if not adbot_utils.get_page(browser, "", By.ID, "lbc_submit"):
          return false
      browser.find_element_by_id("lbc_submit").click()
      return true
  </code></pre>
  
  <p>get_page function :</p>
  
  <pre><code>def get_page(browser, url, by_method, element_path):
      if url:
          browser.get(url)
      try:     
          WebDriverWait(browser,10).until(ec.presence_of_element_located((by_method, element_path)))
      except TimeoutException:
          if url:
              print_log("Failed to load page " + url, 0, __name__)
          else:
              print_log("Failed to load element [" + element_path + "]", __name__)
          return False
      return True
  </code></pre>