CDPEx - Drive Chrome from Elixir over the Chrome DevTools Protocol - Announcing - Elixir Programming Language Forum
CDPEx is a Chrome DevTools Protocol client for Elixir. It drives a real Chrome straight over CDP, with no ChromeDriver, Selenium, or WebDriver sitting in between. I wrote it to replace Wallaby/ChromeDriver in a production scraping app, and it’s now the only browser engine that app runs on. You launch a Chrome, drive a page, and CDPEx reaps the OS process for you when the page is done, so you don’t end up with a pile of orphaned Chrome processes. CDPEx.with_page([], fn page -> {:ok, _} = CDPE...