Should I use browser or ptor = protractor.getInstance()?

前端 未结 1 1744
死守一世寂寞
死守一世寂寞 2021-01-01 15:10

I watched this video (https://www.youtube.com/watch?v=idb6hOxlyb8) which was uploaded Aug 2013. It claims that we should use

ptor.get(url)

rat

1条回答
  •  走了就别回头了
    2021-01-01 16:05

    Using ptor is obsolete, you should switch to browser from now on.

    Regarding the modern way to navigate to a page, use: browser.get(url)

    If is not an angular page then browser.driver.get(url)

    0 讨论(0)
提交回复
热议问题