How to Nomalize Space in XPath

In this article, you’ll learn how to remove leading and trailing whitespace in XPath using the normalize-space() function for cleaner and more accurate text matching. What is normalize-space in Selenium? Normalize-space is a very useful function in XPath for whitespace normalization when you build it concerning some string or keyword to use it in the … Read more

What is get method in selenium?

WebDriver interface has many different methods and get method is one of them. WebDriver interface is implemented by different browser classes like ChromeDriver, EdgeDriver, EventFiringWebDriver, FirefoxDriver, InternetExplorerDriver, OperaDriver, RemoteWebDriver and SafariDriver. So you can use get method to open any of these browser with given URL syntax. get Method Method Name : get Method description : … Read more

WebElement Locators – 2: By Xpath, Tag Name, Class Name, and CSS Selector

So in last article we have seen how to locate the WebElement using four locators and those are Name, Id, Partial Link Text and Link Text. Now in this article we are going to see the remaining four locators. Let’s start looking at them one by one. Locating element By Xpath: Xpath functions are very … Read more

WebElement Locators – Part – 1 – Selenium With Python

In this article, we are going to see how we can locate the web element to perform an action on it. Web element is the elements which are present on a webpage. Button, link, images, text boxes etc. this all are called as web element. So why do we need to locate the WebElement? The … Read more