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

前端 未结 1 1243
滥情空心
滥情空心 2021-01-01 15:09

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 15:58

    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)
提交回复
热议问题