Closed Githraine closed 6 years ago
@Githraine , sorry for not having a response for so long. Is this still an issue for you?
Maybe I'm mis-understanding the problem, but couldn't you set the cookies where you initialize the browser?
Jo, thank you. We found a way to make this work. Thanks.
I have a case where I need to add several cookies to the browser before tests run. This cannot be added into the Hooks, because it has to occur after the website under test loads. I dont see anywhere I can add this in besides jamming it into every pageobject which would be really ugly. The only common place i can see to put it would be within the Visit call.