Some buttons located to test the relative locators

Relative Locators are available in Selenium to find nearby elements. Before 2019, this feature was called Friendly Locators. The base function call looks like this

matches = driver.find_elements(with_tag_name("input").to_left_of(element))

You start with an element and then find all elements of a certain type within a certain range. There can be zero…

A chart depicting income inequality according to Thomas Piketty

From the World Factbook

Selenium is a tool to test web-pages. Modern web-pages have become very complicated with numerous stacks of pages and hundreds of links. Manual testing is tedious and error prone. Having a scripted test ensures that all elements of the web-page are tested in a repeatable fashion.

Selenium started in 2004

Allen Parsons

Computer engineer in Silicon Valley. Writing about topics that interest me and may interest you.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store