Hello folks, In this post, we will see below topics: Why we need Page Object Model? What is Page Object Model and its advantages? Why we need Page Object Model? When you write a code, it must have below properties: Easy to understand. Easy modifications. Proper categorization. Anybody should be able to locate desired lines … Continue reading Introduction Of Page Object Model In Selenium WebDriver: Advantages And disadvatages
Question: What will happen if you pass Hindi words in sendKeys method? Answer: Selenium webdriver will type Hindi font in text box which is intended behavior of sendkeys method. Java program: Output:
Hello Folks, In this post we will see how to handle JQuery dialog box in selenium webdriver. Sample html code to create a JQuery dialog box: JqueryDialogBox.html: If you open above html code in browser and click on button, you will see a dialog box as below: You can inspect this dialog box. There is … Continue reading Handling JQuery Dialog Box In Selenium Webdriver
Hello Folks, In this post, we will learn "Handling browser windows in Selenium webdriver.". Consider an example. You are browsing a website and when you click on a link, it opens up a new browser window and display web page contains. Manually, you need to switch to new browser window to perform some actions. The … Continue reading Handling Browser Window In Selenium Webdriver
Hello Folks, We will see a very basic concept of waits in selenium. I have already covered waits in selenium in details. You can go through below link: Wait in Selenium webdriver Someday ago, one guy asked me that explicit wait is not working for him. Webdriver is not using wait time to find web … Continue reading Are We Using Proper Wait In Proper Way In Selenium Webdriver?