Need xpath support
Hello there
It will be cool if we can include xpath also along with css selector in most of the methods like wait_for_element
I also open a new topic to try to find how to use selenium WebDriver method.
I agree. XPath is a must.
Yes, it's necessary for complex logic
true
You can get around this by using .select() function provided by Botasaurus to get the desired HTML block and then using the lxml library specify the XPath you want. Here is an example:
from lxml import html
html_content = driver.select(' desired HTML block') tree = html.fromstring(html_content) output = tree.xpath('your xpath')