Posts

Showing posts with the label #selenium-chrome-dev-tools

Selenium-Basics

 Agenda To understand basic concepts in Selenium that helps us to build a test automation framework and in the end we can discuss how framework can be developed as well. Why Selenium? open source tool platform independent multiple browser support multiple client languages community support Best tool to go for browser based automation. Selenium architecture Client(Java/supported languages) <-json over http->Browser drivers <-http->Browsers Client interacts with browser drivers over json wire protocol, where browser drivers take care of running your code on browsers, and result will be interpreted in the same backward direction. Invoke Browser Let's take a look, how we invoke different types of browsers using selenium package day1 ; import org.openqa.selenium.WebDriver ; import org.openqa.selenium.chrome.ChromeDriver ; import org.openqa.selenium.edge.EdgeDriver ; import org.openqa.selenium.firefox.FirefoxDriver ; import org.testng.annotations. Test ; public class InvokeBr...