

Overview
Selenium on Headless Amazon Linux
Preinstalled browsers, drivers and packages for quickly running Selenium scripts in Python, Node.js, or Java.
Deploy a Preinstalled Selenium WebDriver to Automate Chrome, Firefox, and Microsoft Edge
Running Selenium WebDriver on an EC2 instance is the easiest way to get started with Selenium in the cloud. This AMI provides a reliable solution for your Selenium scripts, including test automation, web scraping, automating routine web tasks, and application monitoring.
After deployment, you can run your Selenium scripts by connecting via SSH. Use command-line editors like nano or vim, or deploy your script files remotely with tools like WinSCP.
This AMI is designed to be minimal, containing only the necessary installations required to run Selenium WebDriver.
Key Features:
- Hosted on Amazon Linux 2023, optimized for executing headless Selenium tests.
- Preinstalled Browsers: Chrome (+ ChromeDriver), Firefox (+ GeckoDriver), and Edge (+ EdgeDriver).
- Sample Code Snippets provided for a convenient start with Python, Node.js, and Java.
For further assistance, contact our expert cloud team via email at support@silverlining.cloud or through live chat on our website . Detailed documentation for this image is available here: https://www.silverlining.cloud/docs/aws/selenium-amazonlinux .
Deploy Your Own Selenium Server in the Cloud Now!
Highlights
- Supports all major browsers in headless mode for Selenium: Chrome (+ ChromeDriver), Firefox (+ GeckoDriver), and Edge (+ EdgeDriver).
- Extended sample code snippets and preinstalled language bindings for a quick start with Python, Node.js, and Java.
- Configured and supported by the SilverLining.Cloud team. Contact us via live chat on our website or email us at support@silverlining.cloud
Details
Typical total price
$0.033/hour
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
- ...
Instance type | Product cost/hour | EC2 cost/hour | Total/hour |
---|---|---|---|
t1.micro | $0.021 | $0.02 | $0.041 |
t2.nano | $0.012 | $0.006 | $0.018 |
t2.micro AWS Free Tier | $0.01 | $0.012 | $0.022 |
t2.small Recommended | $0.01 | $0.023 | $0.033 |
t2.medium | $0.015 | $0.046 | $0.061 |
t2.large | $0.015 | $0.093 | $0.108 |
t2.xlarge | $0.021 | $0.186 | $0.207 |
t2.2xlarge | $0.027 | $0.371 | $0.398 |
t3.nano | $0.012 | $0.005 | $0.017 |
t3.micro AWS Free Tier | $0.015 | $0.01 | $0.025 |
Additional AWS infrastructure costs
Type | Cost |
---|---|
EBS General Purpose SSD (gp3) volumes | $0.08/per GB/month of provisioned storage |
Vendor refund policy
For any issues, please reach out to our support team at support@silverlining.cloud or contact us via live chat to raise your case.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
This major release includes an upgrade from Amazon Linux 2 to the latest Amazon Linux 2023, as well as the integration of the Edge browser into our sample code scripts. Additionally, Python, NodeJS, and Java, along with their installed packages, have been updated to their most recent versions.
Additional details
Usage instructions
Click here for detailed usage instructions with tutorials, screenshots, and troubleshooting tips.
Preconfigured sample code with Selenium is available in Python, Java, and NodeJS. These code snippets demonstrate common browser operations, such as initializing the web driver, navigating to URLs, clicking elements, sending keys, scrolling, and taking screenshots.
Connect to the instance with SSH to run the sample code:
- Python: Access the Python directory with cd /home/ec2-user/Selenium/Python. Run one of the prebuilt scripts, such as sample-chrome.py, sample-firefox.py, or sample-edge.py, using the command: python sample-chrome.py
- Node.js: Access the NodeJS directory with cd /home/ec2-user/Selenium/NodeJS. Run one of the prebuilt scripts, such as sample-chrome.js, sample-firefox.js, or sample-edge.js, using the command: node sample-chrome.js
- Java: Maven is preinstalled to build the project. Navigate to the Java directory with cd /home/ec2-user/Selenium/Java. Run one of the executable files, such as SampleChrome, SampleFirefox, or SampleEdge, using the command: mvn exec:java -Dexec.mainClass="com.example.SampleChrome"
We keep software installations to a minimum, and no sensitive data is stored on the virtual machine instance. If you encounter any issues or have additional questions, please refer to our documentation or reach out to our support team.
Resources
Vendor resources
Support
Vendor support
For assistance with deployment issues, configuration, integration, troubleshooting, or feature requests, contact us at support@silverlining.cloud or chat live with our experts on our website.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products


