Want to use the selenium for the contents of a div on
data=https://bbs.csdn.net/topics/browser.find_element_by_id (" Enable_S "). The text
This has been an error, please expert help see? Thanks a lot
CodePudding user response:
Problem has been resolvedCodePudding user response:
How to solveCodePudding user response:
To ask, how to solve? Hope the landlord to reply, thank you!CodePudding user response:
The building Lord uncoolThe find_by_id (' Enable_S '). The value
CodePudding user response:
Is that so? Finally add a bracketdata=https://bbs.csdn.net/topics/browser.find_element_by_id (" Enable_S "). The text ()
CodePudding user response:
The text value is empty, how to solve?Value the method # 4 floor no.
The tail without parentheses # 5 floor
CodePudding user response:
Can use first is_displayed to judge whether the current positioning of elements is hidden, if be hidden, can use get_attribute () to obtain element attributes