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 495da7e commit 5af9e02Copy full SHA for 5af9e02
seleniumbase/fixtures/page_utils.py
@@ -252,11 +252,18 @@ def _get_unique_links(page_url, soup):
252
link = prefix + link
253
elif link.startswith("/"):
254
link = full_base_url + link
255
+ elif link == "./":
256
+ link = page_url
257
elif link.startswith("./"):
258
f_b_url = full_base_url
259
if len(simple_url.split("/")) > 1:
260
f_b_url = full_base_url + "/" + simple_url.split("/")[1]
261
link = f_b_url + link[1:]
262
+ elif link.startswith("../"):
263
+ if page_url.endswith("/"):
264
+ link = page_url + link
265
+ else:
266
+ link = page_url + "/" + link
267
elif link.startswith("#"):
268
269
elif "//" not in link:
0 commit comments