Browsed by
Tag: @EnumSource

Injecting the WebDriver not the manager.

Injecting the WebDriver not the manager.

Sorry! I forgot to mention last time that I was having a week off to spend some quality time with my long suffering wife and kids. I have added a fair deal of code, and I don’t plan on explaining all of it here, just the most relevant. Last time, I managed to get dependency injection working, but not in a way that I was at all happy with. My decision to create WebDriverManager classes led me to create a…

Read More Read More

All is not as it seems: Checking the right browser launched

All is not as it seems: Checking the right browser launched

This entry is part 2 of 5 in the series Building a WebDriver Grid

When tests don’t work…. One of those issues that I could very easily have missed. Over Christmas, in between working through CheckStyle hell I had a play around with adding Opera to the list of browsers available on my grid. I know its kind of pointless as being based on the same engine as Chrome, but it is one of my favourite browsers so I thought I’d give it a go. I’ve made a few incremental changes to my grid…

Read More Read More