Skip to content

Commit 2ed5e79

Browse files
committed
Fix BeautifulSoup processing
1 parent a23f7eb commit 2ed5e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def click_partial_link_text(self, partial_link_text,
273273
element.click()
274274
return
275275
source = self.driver.page_source
276-
soup = BeautifulSoup(source)
276+
soup = BeautifulSoup(source, "html.parser")
277277
html_links = soup.fetch('a')
278278
for html_link in html_links:
279279
if partial_link_text in html_link.text:

0 commit comments

Comments
 (0)