XPath Practice
Normalize Space
Practice handling extra spaces using normalize-space() in XPath.
BU TH 811 01
AP IOH 811 01
NU TH 811 01
KU TH 811 01
A paragraph with this text in bold.
XPath example:
//h4[normalize-space()='BU TH 811 01']
This is a string with 1 2 3 some white space.
Apple iPhone 15 Pro Max
Welcome to
Selenium
John Doe
UserName:
| x | User Name |
Hello, World!
Welcome
to the DOM world!
Hello, World!
Welcome to the DOM world!
Text
Text
First paragraph
Second paragraph
First paragraph
Second paragraph
First paragraph
Second paragraph
Article Title
Welcome to the JavaScript DOM tutorial.
Enjoy learning!
Article Title
Welcome to the JavaScript DOM tutorial.
Enjoy learning!
Extra content!