Replace text()
with string()
:
//div[contains(string(), "Elangovan")]
Or, you can check that span
‘s following text sibling contains the text:
//div[contains(span/following-sibling::text(), "Elangovan")]
Also see:
Related Posts:
- Redirect from an HTML page
- What is ' and why does Google search replace it with apostrophe?
- Should I use tag for icons instead of ? [closed]
- Adding a favicon to a static HTML page
- What’s the difference between HTML ‘hidden’ and ‘aria-hidden’ attributes?
- How do I vertically align text in a div?
- How do I vertically center text with CSS?
- How do I vertically center text with CSS?
- What does enctype=’multipart/form-data’ mean?
- Link with target=”_blank” and rel=”noopener noreferrer” still vulnerable?
- What does do?
- How to make JavaScript execute after page load?
- Parse error: Syntax error, unexpected end of file in my PHP code
- CSS `height: calc(100vh);` Vs `height: 100vh;`
- Custom Tumblr theme wont save because of non-https urls?
- Double click and run the Php script on mac
- CSS no text wrap
- mailto using javascript
- Bootstrap 4 Sticky Footer Not Sticking
- How to change css property using javascript
- html tables: thead vs th
- What is “X-Content-Type-Options=nosniff”?
- Rotate an image in image source in html
- Strange symbol shows up on website (L SEP)?
- How can I make a CSS glass/blur effect work for an overlay?
- Maintain the aspect ratio of a div with CSS
- Bootstrap dropdown not working
- What is the difference between id and class in CSS, and when should I use them?
- When to use instead
?
- jQuery.addClass not working
- How to call a PHP function on the click of a button
- what’s the easiest way to put space between 2 side-by-side buttons in asp.net
- Calculate percentage Javascript
- Vertically centering a div inside another div
- How to move image with css/html
- How to style the option of an html “select” element?
- HTML: How to center align a form
- How to mark-up phone numbers?
- CSS pick a random color from array
- Adding background image to div using CSS
- Center a DIV horizontally and vertically
- how to overwrite css style
- How can I move this text up using CSS?
- Multiple Forms or Multiple Submits in a Page?
- Target a css class inside another css class
- Mailto on submit button
- CSS float right not working correctly
- How can I vertically align elements in a div?
- How to give spacing between buttons using bootstrap
- Space between two rows in a table?
- What is the difference between
and ?- Make a div fill the height of the remaining screen space
- html5 error : Element head is missing a required instance of child element title
- Add image in title bar
- HTML input – name vs. id
- How to add image that is on my computer to a site in css or html?
- How to use PHP inside css file
- jQuery checkbox event handling
- Setting a max character length in CSS
- How to use the “required” attribute with a “radio” input field
- Local Storage vs Cookies
- Redirect website after specified amount of time
- External CSS not working
- How to exclude particular class name in CSS selector?
- How to scroll to top of a div using jQuery?
- HTML/CSS–Creating a banner/header
- Change hover color on a button with Bootstrap customization
- Alternate table row color using CSS?
- Is there a float input type in HTML5?
- Is there a vr (vertical rule) in html?
- How to view an HTML file in the browser with Visual Studio Code
- How to create a hidden
in JavaScript?
- CSS “and” selector – Can I select elements that have multiple classes?
- How do I programmatically set the value of a select box element using JavaScript?
- CSS: Background image and padding
- Accessing WordPress data via JSON gives HTML data for certain keys
- How to prevent pages from automatically adding line breaks?
- How to add a button that enables the user to insert a link in a textarea located in the front-end?
- Firefox CSS Animations Broke [closed]
- How to remove ?wp-mce from page source?
- Inline style HTML attribute is being stripped from all elements of a post
- Unfamiliar HTML Properties in Avada and Divi Themes [closed]
- #text at the begging of every page, before the main content block
- Phantom strong tags in wordpress
- Convert bookmarks.html file into WP posts
- With wp_list_category put every existing category into an option tag
- Https and Http for iFrame
- Removing Unused WP SEO Codes display on html page [duplicate]
- Excerpt keep stripping tags
- What file is the tag located in Genesis default theme?
- Show preview of wordpress posts on external html sever
- Applying metatag to single page
- Where to find HTML to post Adsense Code
- An extra is appearing in my source code–how do I diagnose the source?
- how add class in containers
- Link opens a new website instead of my own
- how i can change wordpress post views?
- Configuration Options for embedded YouTube Videos
- How to play a video after the end of another one via link?
- Moving from Microsoft Front Page 2003 to WordPress