xpath
CommunityMaster Biloba XPath selectors.
Authoronsi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill enables constructing robust XPath queries for Biloba actions and matchers, addressing scenarios where CSS or semantic locators fall short and more complex DOM relationships are required.
Core Features & Use Cases
- DSL helpers: b.XPath(), b.RelativeXPath(), and chaining methods to build precise XPath strings.
- Predicates and logic: compose with b.XPredicate() to refine conditions and combine selectors.
- Tree navigation: navigate by Child, Descendant, Parent, Ancestor, and Sibling relations, including indexing with Nth/First/Last.
- Text and attribute targeting: support for text() matching and attribute-based filtering to locate elements reliably.
Quick Start
Use b.XPath("div").WithClass("content") to construct a selector that matches a div with class content.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: xpath Download link: https://github.com/onsi/biloba/archive/main.zip#xpath Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.