Quantcast
Viewing all articles
Browse latest Browse all 3527

Edge Testing with Selenium

I am attempting to test EDGE with the following code and have been getting the following error

05.NoSuchElementException.exe' (CLR v4.0.30319: _05.NoSuchElementException.exe): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies\Runtime\Microsoft.VisualStudio.Debugger.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[17312] _05.NoSuchElementException.exe' has exited with code -1 (0xffffffff).

The code I have been using in Visual Studio 2019.

using OpenQA.Selenium.Edge;
class HomePageTests
{
    static void Main(string[] args)
    {
        {
            {
                IWebDriver AzimaHome = new EdgeDriver();
                AzimaHome.Navigate().GoToUrl("https://qaweb.wptss.com/tools");

                IList<IWebElement> terms = AzimaHome.FindElements(By.TagName("a"));
                terms.First(element => element.Text == "").Click();
            }

The system launches the Edge page but hangs there and will not move on to the navigating to the URL. As well as the rest of the code. Does anyone have any ideas?


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>