Difference between webdriver.get() and webdriver.navigate()

前端 未结 14 1468
悲哀的现实
悲哀的现实 2020-11-28 04:27

What is the difference between get() and navigate() methods? Does any of this or maybe another method waits for page content to load? What do I rea

14条回答
  •  眼角桃花
    2020-11-28 04:54

    Otherwise you prob want the get method:

    Load a new web page in the current browser window. This is done using an
    HTTP GET operation, and the method will block until the load is complete.
    

    Navigate allows you to work with browser history as far as i understand it.

提交回复
热议问题