seleniumonlinetutor

Selenium Interview Questions and Answers | Selenium Tutorial | Selenium Training |

Question: What do you mean by Wrapping Selenium Calls? Answer: As with any programming, you will want to use utility functions to handle code that would otherwise be duplicated throughout your tests. One way to prevent this is to wrap frequently used selenium calls with functions or class methods of your own design. For example, […]

Read More »

Selenium Interview: How to double click in Selenium WebDriver?

How would you double click in Selenium ? It’s very simple. You just need few lines of code. You will need to use Actions class . Here is the sample code: WebDriver driver=new FirefoxDriver(); driver.get(“https://www.facebook.com/”); //on below element , we will double click WebElement we=driver.findElement(By.id(“day”)); // Create object of Actions class and build action Action […]

Read More »