Release Notes and Announcements

Disable JavaScript in Chrome with rendered page with C# & Selenium WebDriver

  • 1.  Disable JavaScript in Chrome with rendered page with C# & Selenium WebDriver

    Posted 9 days ago
    I am running my test in Visual Studio 10, with C# and Selenium. There is a moment that Im landing on a page and I need to check some elements of the page, but its like "loading" continuously so its impossible to find this elements, cause are changing. The only way to find them is in Chrome Settings, Disable sJavaScript and perfect it works. But how I disable Javascript with Selenium with C# in the same page, without call a new one? Just refreshing or smthg.

    ------------------------------
    soujanya bargavi
    MIndMajix
    New York NY
    ------------------------------