How to highlight element using selenium webdriver

As we have seen in my previous posts, we can Get Page Title, Get Domain Name, Generate Alert using java script executor interface of selenium webdriver software testing tool. Using webdriver, we can perform many different actions on software web page but for that you should be aware about this kind of things. We can execute any … Read more

Generating Alert In Selenium Webdriver using JavascriptExecutor

If you need to generate alert during your software test case execution then you can use java script Executor in selenium webdriver software testing tool. Java Script Executor is very helpful interface of selenium webdriver because using it we can execute any java script. I think manual alert generation in webdriver test is required only in rare … Read more

Selenium WebDriver – Get Domain Name Using JavascriptExecutor

You need current software web application’s page URL when you have to compare it with your expected URL. You can do it using WebDriver basic operation command driver.getCurrentUrl();. This method we have seen in my Previous Post. If you remember, we can use “storeLocation” command to get current software web application’s page URL in selenium IDE software testing … Read more

Executing javascript in selenium webdriver to get page title with example

JavascriptExecutor is very useful Interface in webdriver software testing tool. Interface JavascriptExecutor helps you to execute javascript in your software test case whenever required. If you knows/remember, We had seen Different examples of executing javascript in selenium IDE to perform different actions. Let me give you one example of executing javascript in selenium WebDriver software testing tool. Sometimes in your test … Read more