public JobProfileSteps(ScenarioContext context)
 {
     _context       = context;
     _webDriver     = context.GetWebDriver();
     _config        = context.GetExploreCareersConfig <ExploreCareersConfig>();
     jobProfilePage = new JobProfilePage(_context);
     homepage       = new Homepage(_context);
 }
コード例 #2
0
 public Homepage(ScenarioContext context) : base(context)
 {
     _context       = context;
     _pageHelper    = context.Get <PageInteractionHelper>();
     _formHelper    = context.Get <FormCompletionHelper>();
     _objectContext = context.Get <ObjectContext>();
     _webDriver     = context.GetWebDriver();
     _config        = context.GetExploreCareersConfig <ExploreCareersConfig>();
 }