in Testing by
Which technique should be considered in the script “if there is neither frame id nor frame name”?

▼ Show 1 Answer

0 votes
If frame name and frame id is not available, then we can use frame by index. For example, there are 3 frames in a web page and if none of them have a frame name and frame id, then we can still select those frames by using frame (zero-based) index attribute. All the frame will have an index number like the first frame would be at index “0”, the second at index “1” and the third at index “2”.
Learn More with Madanswer

Related questions

0 votes
asked Jan 30, 2020 in Selenium by Deepanshu Burreja