public void _06_MoveToSiblingFrame()
 {
     test = extent
            .StartTest("MoveToSiblingFrame", " Moves to frame " + "'main_frame2'")
            .AssignCategory("Frames");
     test.Log(LogStatus.Info, "Final Test in 'FrameHandlerTest' series");
     try
     {
         FrameHandler.MoveToChildFrame(_driver, By.Name("main_frame1"));
         FrameHandler.MoveToSiblingFrame(_driver, By.Name("main_frame2"));
         Assert.True(FrameHandler.GetCurrentFrameName(_driver).Equals("main_frame2"), "Frame name was not 'main_frame2' ");
         test.Log(LogStatus.Pass, "The current frame is " + "'main_frame2'");
     }
     catch (Exception ex)
     {
         test.Log(LogStatus.Fail, "<pre>" + ex.StackTrace + "</pre>");
         throw;
     }
 }