Hiya friends! If you stepped into the World of Selenium, you must have run into Web Elements! Text boxes, buttons, links, checkboxes, radio buttons, dropdowns, alerts etc., everything is treated as a web element. Using locator types and strategies, we can easily identify any desired element on the page. This is the most crucial step for interacting with the page and referencing these elements further in the code. And yes, it is very similar to what we saw in Selenium IDE except for the syntax and the way the concept is applied.
Hiya testers! Welcome to yet another explore-along post.
We recently discussed on locating elements on the web page using XPath. You may use the page’s source code and come up with an extraordinary XPath but it might not work as expected. I understand it is not very motivating and all that, but XPath strategy is quite complex and often used by advanced Selenium testers. Come on, there is no point in brooding over it.
It was once said my minions, if plan A fails remember you have 25 letters left! Hence, no giving up! We, mighty, invincible, unbeatable testers, are going to use Firebug to our advantage today.
Firebug comes as an add-on for Mozilla Firefox browser.