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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン