Questions tagged [relative-locators]

Relative Locators offer a way to locate elements by their proximity to a reference element on the webpage.

Encountering 'Element not found' error when automating Flight Booking on MakeMyTrip.com using Selenium WebDriver, specifically while trying to select a flight after conducting a search

Currently in the process of automating the flight booking feature on MakeMyTrip.com using Selenium WebDriver. I have implemented separate classes for Page Object Model (POM) and TestNG. The code successfully automates the process up to the point of clicki ...

I encountered an issue with Robot framework where it was unable to retrieve the locator. Despite attempting to copy the xpath, I continued to receive the error message stating "unable to find the locator."

Here are the elements I am currently working on automating an application using Robot framework, Selenium in PyCharm tool. As part of this process, I attempted to define a keyword to click on a sidebar entity named "GCC Intelligence", but encountered the ...