Esempio n. 1
0
        public override void PageTop()
        {
            var action = new Actions(_driverProvider.GetDriver());

            action.SendKeys(Keys.Control).SendKeys(Keys.Home).Build().Perform();
            action.KeyUp(Keys.Control).Perform();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
        public void Move()
        {
            var action = new Actions(_driverProvider.GetDriver());

            _mediator.Value.Execute(() => action.MoveToElement(((ElementProvider)_provider).Element).Build().Perform());
        }