예제 #1
0
파일: Page.cs 프로젝트: drsslv/Molder
        public override void PageTop()
        {
            var action = new Actions(_driverProvider.GetDriver());

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

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