csf-dev / CSF.Screenplay

Implementation of the Screenplay pattern (aka Journey) in .NET
https://csf-dev.github.io/CSF.Screenplay/
MIT License
13 stars 1 forks source link

Deal with browsers which can't delete cookies #94

Closed craigfowler closed 7 years ago

craigfowler commented 7 years ago

I have discovered that Edge can't delete cookies, it just crashes the WebDriver.

This needs to be dealt with in a graceful manner.

craigfowler commented 7 years ago

I think the best solution is to use a capability-detection mechanism stored in the actor's abilities.

This can indicate that the actor is using a browser which cannot perform this action.

In that case, if this action is used then it can raise an exception indicating that the user is using an incompatible browser.

craigfowler commented 7 years ago

Fixed along with #90.