Currently, we are using Selenium to emulate user behaviour on the browser. But this is slow because Selenium needs to open the browser and perform all the actions just like a real user would.
We don't need that much work. We can directly work with just a script that looks at the LinkedIn website as an API.
We can try to write a script which, say, uses the requests, BeautifulSoup4 and Pandas libraries only to extract the data.