Using Selenium in AWS Cloud9 (Python 3.7)

0

I am using AWS Cloud9 to build my Python Lambda (Python 3.7 runtime).

I want to use Selenium in AWS Cloud9 to do headless browsing (i.e., without a GUI). AWS Cloud9 instances are Linux servers and thus require some additional setup.

For Selenium, I believe I will need to install both a web browser and a driver. Because I am working on a headless environment, I probably need to use headless Chrome in combination with ChromeDriver.

I am unsure of how to add selenium chromedriver for my Cloud9 instance and eventually my AWS Lambda. Any tips would be greatly appreciated.

  • What are you using Selenium for and where do you want to use it? Is it in Cloud9 or within your Lambda function?

metros
feita há um ano101 visualizações
Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas