Actor picture

Example Selenium

apify/example-selenium

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

Author's avatarApify Technologies
  • Modified
  • Used by37 users
  • Used94 times
Actor picture
Example Selenium

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.