While attempting to implement the page object model in Serenity BDD, I encountered a null pointer exception when declaring WebElementFacade in my page object. Below is the code for my page object class: package PageObjects; import net.serenitybdd.core.an ...
Just to give some background, I utilize a serenity.properties file for configuring my webdriver settings. Currently, I am working with serenity 2/cucumber 4/java. I was hoping to implement something along the lines of how Chrome driver interacts with sere ...
Just dipping my toes into the world of Cucumber and Serenity. I'm looking for a way to handle the UnhandledAlertException. This is how you can configure Chrome capabilities in Selenium: capabilities.setCapability(CapabilityType.UNEXPECTED_ALERT_BEH ...