49852/is-there-any-way-locating-elements-based-on-the-text-in-xpath
Hey Angad, for locating elements based on text, you can use the text() method. Following expression will get elements that have text nodes that equal ‘Apple':
xPath usage = //*[text()='Apple']
use gettext() in java : string lableText = ...READ MORE
Hi Jasmine, you can verify an error ...READ MORE
This is the usage: from selenium import webdriver from ...READ MORE
Hey Anushka, you can use clear() function to ...READ MORE
I'm using Selenium WebDriver with Python in ...READ MORE
Hey Anishka, if you are facing slow typing ...READ MORE
The better way to handle this element ...READ MORE
enable trusted connection in internet explorer by ...READ MORE
To Allow or Block the notification, access using Selenium and you have to ...READ MORE
xpath are two types. 1) Absolute XPath: /html/b ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.