Skip to content

Commit 7d5c136

Browse files
committed
The html base tag should not close
1 parent 5bb03c1 commit 7d5c136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/core/log_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_base_href_html(full_url):
8282
''' The base href line tells the html what the base page really is.
8383
This is important when trying to open the page outside it's home. '''
8484
base_url = get_base_url(full_url)
85-
return '<base href="%s"></base>' % base_url
85+
return '<base href="%s">' % base_url
8686

8787

8888
def get_html_source_with_base_href(driver, page_source):

0 commit comments

Comments
 (0)