5511/selenium-with-c
I want to use Selenium WebDriver with C#. I have downloaded C# client drivers and the IDE. I added all relevant DLLs (Firefox) to the project, but I don't have Selenium Class. Kindly give me an example to do this.
using OpenQA.Selenium.Firefox; using OpenQA.Selenium; class Demo { static void Main(string[] args) { WebDriver driver = new FirefoxDriver();
driver.Navigate().GoToUrl("http://www.google.com/"); WebElement find = driver.FindElement(By.Name("xyz")).SendKeys("hello"); System.Console.WriteLine("Page title: " + driver.Title); driver.Quit(); } }
Hi , we have inbuilt method Maximize(). driver.Manage().Wind ...READ MORE
Hey Naushin, yes it is possible to ...READ MORE
Hey Wareena, you can use following steps ...READ MORE
Hey, try using following code command to ...READ MORE
The better way to handle this element ...READ MORE
enable trusted connection in internet explorer by ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
xpath are two types. 1) Absolute XPath: /html/b ...READ MORE
Use like this or similar to this: //div[@id="top-level-menu-item-3"]/div[@class="filter-label"] //div[@id="top-level-menu1"] ...READ MORE
First, you need to go to:- project properties ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.