Open adisis opened 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 ?
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 ?