How Selenium 4 Relative Locator Can Change The Way You Test

Web pages can consist of the number of web elements or GUI elements like radio buttons, text boxes, drop-downs, inputs, etc. Web locators in the context of Selenium automation testing are used to perform different actions on the web elements of a page. Which makes it no surprise that as a new Selenium user, the first thing we aim to learn is Selenium Locators.

These locators are the bread and butter of any Selenium automation testing framework, no matter the type of testing you are doing, ranging from unit testing to end-to-end, automated, cross-browser testing. There are many types of locators used, such as CSS Selector, XPath, Link, Text, ID, etc. So far, you get eight types of locators in Selenium. This number, however, is going to change in the new Selenium 4 release. Wondering why?

Selecting a Programming Language for Selenium Automation Testing

So many language to learn, so little time.

As people are shifting to automation from manual testing, they prefer to go with the best-suited testing framework for them. When we talk about a popular automation testing framework, most people immediately think about Selenium. Selenium is one of the most reliable, portable software testing frameworks for web applications. It comes with one test domain-specific programming language Selenese for writing automation scripts, but it also supports other programming languages like Java, Python, Ruby, Javascript, PHP, and C#, which makes it a good choice.

While moving to automation testing with Selenium, everyone who tests has to face a question: Which programming language should you use for writing test automation suits?