We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e3093 commit 16aca81Copy full SHA for 16aca81
examples/test_parse_soup.py
@@ -9,7 +9,7 @@ def click_menu_item(self, text):
9
# (This is useful when the selector ID is auto-generated.)
10
pattern = re.compile(text)
11
soup = self.get_beautiful_soup()
12
- the_id = soup.find(text=pattern).parent.parent.attrs["id"]
+ the_id = soup.find(string=pattern).parent.parent.attrs["id"]
13
self.click("#%s" % the_id)
14
15
def test_beautiful_soup_and_tinymce(self):
0 commit comments