Skip to content

A scalable yet disposable Selenium Grid for large-scale testing. Uses AWS ECS-Fargate

Notifications You must be signed in to change notification settings

mmehta-10/selenium-grid-fargate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

selenium-grid-fargate

A scalable yet disposable Selenium Grid for large-scale testing. Built using AWS ECS-Fargate.

[UPDATED] Blog: https://meghamehta.tech/2020/07/13/run-selenium-tests-in-containers-using-aws-ecs-fargate/

Presentation: https://speakerdeck.com/mmehta10/run-tests-at-scale-with-on-demand-selenium-grid-using-aws-fargate


To start your own grid

  1. Log into your AWS account

  2. Go to Services > CloudFormation

  3. Click CreateStack

  4. Upload the CloudFormation template provided here (either json or yaml). Click Next.

  5. Give your stack a name. Change value of ContainerCpu, ContainerMemory and SeleniumImageVersion as desired. If this is your first time with AWS, it is recommended to work with defaults. Click Next twice, and check the box to 'I acknowledge that AWS CloudFormation might create IAM resources.' Click Create.


Stack should be created in a few minutes. You should be able to access the Selenium Grid on ExternalUrl:4444 in the Outputs section of the created stack.

external url for loadbalancer


Implementation based on –

CAUTION

DO NOT FORGET to delete your stack when not in use, else you would end up incurring charges for idle resources.

About

A scalable yet disposable Selenium Grid for large-scale testing. Uses AWS ECS-Fargate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published