Given a frame with an ID of "framelD". which of the following is/are the best line(s) of code for changing the context of the test script to the frame?
The best line of code for changing the context of the test script to the frame with an ID of "framelD" is: fr = driver.findelementbyid('framelD') driver.switchto.frame(fr)
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit