nateshmbhat / webbot

Web automation library for simple and easy end to end testing and web browser automation that offers super charged features while keeping it simple to use and master
https://pypi.org/project/webbot/
Mozilla Public License 2.0
239 stars 87 forks source link

xpath #18

Open adisis opened 5 years ago

adisis commented 5 years ago

how to query xpath value that similar to urllib2 below :

xpath('//label[@for="spam_protection"]/text()')

I can use this ' web.find_elements(xpath="//label[contains(.,'spam_protection')]") ' but only get true/false, how to get it's value ?