Find a Frame ID in Firepath / Firebug



If you are into web automation you would always encounter frames that need to be identified and switched to. Here are simple steps that help you do the same:

If you are not able to recognize a web-element on a webpage. Chances are that it is in a frame ,  Just right click on the webpage and you will see that it's a Frame. This can also be seen in firepath's name

Steps to find the frame properties :

  1. Inspect on the element using firepath
  2. Click on the dropdown with the name of the frame
  3. Right click on the name and "inspect in DOM" tab
  4. Maximize the elements and look for an id attribute inside frame elements

Comments

  1. Nice information about frameid in firepath.People willing to get the indepth knowledge in getting framework such as TestNG,jenkins,Maven and POM should get properly get best selenium training in chennai

    ReplyDelete

Post a Comment

Popular posts from this blog

XPATH for IE / internet explorer

All time good software testing books!