Tag Archives: test automation

Set up Python for Selenium Test Automation

As you know, one of strong side of Selenium Webdriver is to support several known programming languages. You can write you script in Java, Python, C# and etc. You can find languages that supported and their client at this link (Selenium Client & WebDriver Language Bindings section). Today, i’d like to show how can you set… Read More »

Selenium Webdriver – Automation with Java

Hi, One of the most used language to write Selenium Webdriver script is Java. you can find a basic simple Java class to run Selenium Webdriver. import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class SimpleSeleniumTest { public static void main(String[] args) { WebDriver driver = new FirefoxDriver(); driver.get(“http://www.mahsumakbas.net”); String element = driver.findElement(By.xpath(“//a[@class=’site-description’]”)).getText(); System.out.println(“Page title is:… Read More »