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
已提問 1 年前檢視次數 101 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南