How to switch control from child window to parent window in selenium webdriver?

后端 未结 8 1399
一个人的身影
一个人的身影 2020-12-03 17:38
  • From Parent window I\'m passing the control to child window
  • I\'m performing actions in the child window
  • After performing, from a child window one mor
8条回答
  •  一个人的身影
    2020-12-03 18:35

    Try this before calling

    driver.switchTo().window(parentwindow);
    

    you should call

    driver.switchto.defaultcontent .
    

提交回复
热议问题