title: Python Selenium PhantomJS not clicking on same button that Firefox Webdriver is able to click
body: <p>I was implementing a bot to click on upvote button in reddit</p>
  
  <p>Here is the html code of the upvote button.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="arrow up login-required access-required" data-event-action="upvote" role="button" aria-label="upvote" tabindex="0"&gt;&lt;/div&gt;
  &lt;div class="score likes"&gt;•&lt;/div&gt;
  &lt;div class="score unvoted"&gt;•&lt;/div&gt;
  &lt;div class="score dislikes"&gt;•&lt;/div&gt;
  &lt;div class="arrow down login-required access-required" data-event-action="downvote" role="button" aria-label="downvote" tabindex="0"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I am able to click on the upvote button using</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>target = driver.find_element_by_xpath("//div[@class='arrow up login-required access-required']")
  target.click()
  
  
  OR
  
  target = driver.find_element_by_css_selector("div.arrow.up")
  target.click()</code></pre>
  </div>
  </div>
  </p>
  
  <p>The clicking works fine in FIREFOX web driver , but when I try to implement the same in PhantomJS , the browser is not clicking.</p>
  
  <p>Here is the screenshots of 2 browsers</p>
  
  <p><a href="https://i.stack.imgur.com/uMZY7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uMZY7.png" alt="enter image description here"></a></p>