Actor picture

Example Selenium


Example of loading a web page in headless Chrome using Selenium Webdriver.

Author's avatarApify Technologies
  • Modified
  • Used by35 users
  • Used92 times

This actor serves as an example of how to use selenium with chrome on Apify.

To use selenium with chrome in actor you need a dockerfile which has chrome and chrome driver with correct versions installed in global path. You can use our docker file apify/actor-node-chrome and apify/actor-node-chrome-xvbf (for non-headless mode). Or can build your own custom file.