public override void PageTop() { var action = new Actions(_driverProvider.GetDriver()); action.SendKeys(Keys.Control).SendKeys(Keys.Home).Build().Perform(); action.KeyUp(Keys.Control).Perform(); }
public static void New(IDriverProvider provider) { if (Context != null) { throw new Exception("The Driver instance is not null!!"); } Context = new DriverContext(); Context._driver = provider.GetDriver(); }
public void Move() { var action = new Actions(_driverProvider.GetDriver()); _mediator.Value.Execute(() => action.MoveToElement(((ElementProvider)_provider).Element).Build().Perform()); }