xpath didn't actually do anything

This commit is contained in:
Erin O'Connell
2018-03-10 16:44:02 -07:00
committed by GitHub
parent ecb1024c88
commit 22b3fd546e
+3 -2
View File
@@ -120,8 +120,9 @@ XPath is also supported:
.. code-block:: pycon
>>> r.html.xpath('a')
[<Element 'a' class='btn' href='https://help.github.com/articles/supported-browsers'>]
>>> r.html.xpath('/html/body/div[1]/a')
[<Element 'a' class=('px-2', 'py-4', 'show-on-focus', 'js-skip-to-content') href='#start-of-content' tabindex='1'>]
JavaScript Support
==================