Tint Windows for Security and Savings

The process of window tinting homes and businesses offers increased privacy and security for occupants. It also increases insulation which results in significant energy savings. Other benefits and…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How to setup Selenium Grid in AWS

Selenium is a test automation framework that lets you script interactions against your web apps and run them in popular web browsers.
Selenium Grid is a management service that coordinates the use of many instances of these browsers. You can point your Selenium scripts to a Grid,
specify which “capabilities” (OS version, browser version, etc.) it would like in an interactive session, then drive actions in that browser session to verify functional correctness of a target app or website.

Well, for one, it’s not popping up multiple browsers on your workstation while you’re trying to get other work done. In build and continuous integration scenarios, you need to run automated Selenium scripts on an environment
that doesn’t include the laptops your developers take home with them at night.

You also want your test environment to be as versioned and reliable as possible, so having an on-demand grid that can be scripted as an AWS YAML descriptor and that meets your manual, on-demand, and CI testing requirements is a modern must.

Let´s split and describe the setup process into the following steps:

7. Same logic can be applied for a delete script called from a Jenkins job; in this case the job should not take any parameters:

NOTE: We also need a delete script because we assume that we run our tests batches sporadically; therefore we try to reduce the costs to Amazon, associated with the run time of the EC2 instances, on top of which the Selenium Grid infrastructure is built.

Add a comment

Related posts:

6 Reasons Why Product Managers Should Learn Data Science

During the recent years, data science and machine learning became inseparable from software development, and this entanglement continues to strengthen every day. Data science opens the gates to…

To Live rather than to Logic

I recently watched a youtube video of the sage guru Mooji. And this article is reminding me so deeply of something he said. First, he put his hand on his forehead and said “and said you may know it…

The Supreme Court Goes Full MAGA

Late last night someone leaked a draft of the Supreme Court’s decision on a case presented for Mississippi abortion law. The opinion favors Mississippi's restrictive abortion legislation, and to do…