/// <summary>
        /// Dodanie linków z aktualnej strony do tablicy ResultLink
        /// </summary>
        /// <param name="lvl"></param>
        private void AddLink(List <string> links)
        {
            pages_tests x = new pages_tests();

            foreach (var ln in links)
            {
                var y = new page_connections();
                y.page_2.address = ln;
                x.page.address   = driver.Url;
                x.page.page_connections.Add(y);
            }
            ResultLink.Add(x);
        }
        /// <summary>
        /// Przygotowanie obiektu Result (dodanie aktualnej daty)
        /// </summary>
        /// <returns></returns>
        public static Result Initialize()
        {
            var res = new Result();
            var y   = new tests();
            var z   = new pages_tests();
            var x   = new batch();
            var xyz = new page_connections();
            var yxz = new secret();

            res.tests.Add(y);
            res.tests[0].pages_tests.Add(z);
            res.tests[0].pages_tests[0].page.page_connections.Add(xyz);
            res.tests[0].batch.Add(x);

            DateTime theDate = DateTime.Now;

            //theDate.ToString("yyyy-MM-dd HH:mm");
            //res.tests[0].date = theDate.ToString();
            res.tests[0].date = theDate.ToString("yyyy-MM-dd HH:mm");

            return(res);
        }