Example Selenium

  • apify/example-selenium
  • Modified
  • Users 155
  • Runs 7.8k
  • Created by Author's avatarApify

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

Selenium controlled chrome example

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.