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
posta un anno fa101 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande