XPath Diner

No worries, you've got this!

You're about to learn XPath Selectors! Selectors are how you pick which elements to focus.

Exhibit 1 - A XPath Selector

//div[@class='header']

Here, the "//" and "div" means it will check all paths until it finds a div element in your document (XML/HTML). "[@class='header']" means the div has to contain a class attribute with the value header.

To play, type in a XPath selector in the editor below to select the correct items on the table.If you get it right, you'll advance to the next level.

Hover over the items on the table to see their HTML markup.

Get help with selectors on the right! →

Ok, got it!
Help, I'm stuck!
XPath Editor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
+
enter
table.html
HTML Viewer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Improve your QA skills with Inzhenerka.Tech

Have feedback or questions? Please file an isssue on the Github repo.

Examples

Choose a level

Reset Progress