First we have to switch to the frame and then we can click using xpath. We initialise the Firefox driver. Navigate to the “guru99” site which consist the iframe. Maximized the window. In this step we need to find out the id of the iframe by inspecting through Firebug. Then switch to the iframe through ID.
For More Information Please Refer:
You May Also Like to Read: