TestStack / TestStack.Seleno

Seleno helps you write automated UI tests in the right way by implementing Page Objects and Page Components and by reading from and writing to web pages using strongly typed view models.
http://teststack.github.com/TestStack.Seleno/
MIT License
180 stars 60 forks source link

SelenoHost Instrance.Run HTTPS #215

Closed JaimesHere closed 9 years ago

JaimesHere commented 9 years ago

I'm new to Seleno. Is there a way to set Instance.Run("PeachCourt", 44300); To use "https", say -> https://locahost:44300 ??

robdmoore commented 9 years ago

You need to configure the IIS Express instance to run with HTTPS configured.

I suspect you can use a similar approach to the one documented here: https://github.com/TestStack/TestStack.Seleno/issues/90#issuecomment-129653907

Let me know how you go.

JaimesHere commented 9 years ago

Worked like a charm. Thanks robmoore.

robdmoore commented 9 years ago

No worries

Do you mind posting the code so someone else can do the same in the future?