Selenium 2.0 web driver Tutorials using .NET

0 votes
Can anybody tell me the sources for selenium tutorials for using selenium 2.0 web driver with .net?
Apr 20, 2018 in Selenium by Martin
• 4,210 points
11 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

Docs here have an example in C#: http://seleniumhq.org/docs/03_webdriver.html

using OpenQA.Selenium.Firefox;

using OpenQA.Selenium;

class GoogleSuggest

{

    static void Main(string[] args)

   {

        IWebDriver driver = new FirefoxDriver();

        //Notice navigation is slightly different than the Java version

        //This is because 'get' is a keyword in C#

      driver.Navigate().GoToUrl("http://www.google.com/");

        IWebElement query = driver.FindElement(By.Name("q"));

        query.SendKeys("Cheese");

        System.Console.WriteLine("Page title is: " + driver.Title);

        driver.Quit();

    }

}
answered Apr 20, 2018 by Vardy
• 2,280 points

Related Questions In Selenium

0 votes
1 answer

To check that the web page is loaded or not using Selenium Web Driver?

The solution is using Implicit Wait which ...READ MORE

answered May 24, 2018 in Selenium by Meci Matt
• 9,400 points
2,598 views
0 votes
2 answers

Get text using selenium web driver in python

text = driver.find_element_by_class_name("current-text").getText(); READ MORE

answered Feb 4 in Selenium by anonymous
4,982 views
0 votes
1 answer

Python: Using an existing google chrome profile with selenium chrome web driver

Check below: chromedriver = r"C:\Users\DMMaxim\Desktop\chromedri ...READ MORE

answered Jul 4, 2018 in Selenium by Samarpit
• 5,130 points
1,672 views
0 votes
1 answer

Popup messages using Selenium Web Driver

Try to get text From Pop Up: String ...READ MORE

answered Jul 18, 2018 in Selenium by Samarpit
• 5,130 points
49 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,030 points
51 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
410 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
40 views
0 votes
1 answer

Browser supported by Selenium 2.0

Below Will help you: Opera: The OperaDriver supports Opera ...READ MORE

answered Apr 20, 2018 in Selenium by Vardy
• 2,280 points
36 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.