Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.3k views
in Technique[技术] by (71.8m points)

automated tests - How to configure protractor so that it launches a 'regular' web browser?

I'm wanting to write some tests for a web app but the auth that's in place causes a redirect to Microsoft's O365 sign-in whenever protractor is launched.

My question is, is there a config setting either within protractor and/or within the webdriver such that it doesn't start the browser at a 'clean state' but instead will keep cookies and other storage variables in place?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...