I have tried to looked up for similar QA's but i couldn't find one to satisfy me. So basically i saw that in some examples it's used
ptor = protractor.getInstance();
ptor.get(url);
And in some other examples it's used.
browser.get(url);
So th question is: What's the difference using protractor instance and browser for getting specific url? Also if my assumption in the P.S. is right, which is better practice: to use only protractor, or to mix them?
P.S. Also i saw same difference in usage with the debugger. I know that protractor is a wrapper over web driver and i assume that protractor.getInstance().get(url) is a implicit invocatin of browser.get(url).
(protractor.getInstance() === browser)
istrue
– Zemstvo