public static void SetAddingNewNonEmployee(NonEmployeeCreating nonEmployeeCreating)
 {
     if (ScenarioContext.Current.ContainsKey("nonEmployeeCreating"))
         ScenarioContext.Current["nonEmployeeCreating"] = nonEmployeeCreating;
     else
         ScenarioContext.Current.Add("nonEmployeeCreating", nonEmployeeCreating);
 }
        public void GivenIHaveClickedOnTheCreateNewNonEmployeeButton(long companyId)
        {
            var nonEmployeeCreating = new NonEmployeeCreating {ClientId = companyId};
            ScenarioContextHelpers.SetAddingNewNonEmployee(nonEmployeeCreating);

            var addNewNonEmployeeBtn = WebBrowser.Current.Button(Find.ById(x => x == "addNewNonEmployee"));
            addNewNonEmployeeBtn.Click();
        }