Scrape LinkedIn connections
<p>I'm trying to scrape so data from LinkedIn.  I want to scrape the connections of my connections.  I've written code in Python, BeautifulSoup and Selenium that will pick up my connections and go into the connection's profile page.  It can then scrape the first 10 connections of my connection but I cannot get it to do anything with the next button.</p>

<p>I select the button using Selenium with the Python code:</p>

<pre><code>inputElement = driver.find_element_by_css_selector("button.next.carousel-control-disabled")
inputElement.click()
</code></pre>

<p>If I physically (using the browser and a mouse button) click on this element it loads the next 10 connections BUT when I use the script it gives the following error message.</p>

<blockquote>
  <p>Element is not clickable at point (616, 15). Other element would
  receive the click: </p>
</blockquote>

<p>I've tried inspecting the element and I get:</p>

<pre><code>&lt;button class="next carousel-control-disabled"&gt;Next&lt;/button&gt;
</code></pre>

<p>I think this means there is JavaScript waiting for the element to be clicked.  Does that make sense?  And if so, how can I find out the name of the function and then run that JavaScript?</p>