mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-18 23:47:48 +02:00
7ce6797e9c
* Implemented XPath for CDP driver * Added XPATH function * Added e2e tests for CDP * Fixed linting issues * Added support of XPath to HTTP driver * Fixed linting issues
7 lines
166 B
Plaintext
7 lines
166 B
Plaintext
LET url = @static + '/value.html'
|
|
LET page = DOCUMENT(url)
|
|
|
|
LET el = ELEMENT(page, '#listings_table')
|
|
LET actual = XPATH(el, "count(//tr)")
|
|
|
|
RETURN EXPECT(41, actual) |