3 minutes read Here is how to use Apache JMeter’s WebDriver Sampler to load test the UI of the application, and by the UI, I mean load test a user’s workflow, with entering the web pages, clicking on different links etc. All you have to do is install the JMeter plugins and make use of the WebDriver… Read more »
Posts Categorized: Selenium WebDriver
How to Open a New Tab using Selenium WebDriver with Java?
2 minutes read If you want to open a new tab in the browser with Selenium WebDriver and Java, below we’ve listed some working examples. Have in mind that at the moment, Selenium WebDriver has no build-in ability to open new tabs or new windows, and because of this we have to force the browser to open the… Read more »
How to use Explicit and Implicit Waits in Selenium WebDriver with Java
2 minutes read Here are details related to using waits with Selenium WebDriver in Java. According to the Selenium documentation, at the moment, there are two different type of waits: explicit and implicit. After you understand how to locate elements with Selenium WebDriver, you have to focus on waiting for elements to appear, be visible, be clickable. Waiting… Read more »
How to find by XPath text that contains apostrophe (single quote) in Selenium WebDriver
< 1 minute read The only reliable way of using XPath in Selenium WebDriver for text with apostrophes (single quotes) is to use double quotes for the expression of the XPath. In order to find how to use XPath to locate WebElements in Chrome browser you can check our previous article. For example, for the code below: driver.findElement(By.xpath(“//*[@text='” + text + “‘]”))… Read more »
Find all the Links on a Webpage with Selenium WebDriver in Java
< 1 minute read Here is how you can find all the Links on a Webpage with Selenium WebDriver in Java. All you need to do is to create a list of all WebElements, and then iterate thorough the list of links to print the link and the text of the link: List allLinks = driver.findElements(By.tagName(“a”)); System.out.println(“All links found… Read more »
How to MouseOver (Hover) a WebElement using Selenium WebDriver
2 minutes read We are going to present how you can mouseover an web element using Selenium WebDriver. The code below is straight forward: first we identify the element to be hovered in the web page, here is how you can find web elements using Selenium WebDriver. hover (mouseover) functionality is provided in Selenium WebDriver with the help of the… Read more »
Which is the Best and Fastest Way to Find Elements Using Selenium WebDriver
2 minutes read Most of the Automated UI Selenium WebDriver test are very slow comparing to Unit Tests and API tests and one of the factors is how fast WebDriver can find elements within the HTML of a web page. Also, using the right locator ensures your tests are faster, more reliable and have a lower maintenance over… Read more »