Run Selenium on azure functions

Tilanka Kulatunga 1 Reputation point
2021-01-12T11:26:32.83+00:00

I have a web scrapper app. which use selenium chrome driver.
how can I host the application in azure.
Can I use azure functions and docker container

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,412 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Pramod Valavala 20,596 Reputation points Microsoft Employee
    2021-01-13T10:22:27.27+00:00

    This should indeed be possible with a Custom Container since you can install all required dependencies and not run into limitations of the shared environment where functions usually run on.

    This blog covers this for Python but the parts of the dockerfile related to selenium could be reused.


  2. sadomovalex 3,626 Reputation points
    2022-01-13T14:33:27.88+00:00

    is it possible (acceptable) in your case to allow anonymous access for Azure functions? If yes then you may create regular Azure function app without containers which will have globally accessible url (https://{function app name}.azurewebsites.net) which can be used by Selenium.