-
Notifications
You must be signed in to change notification settings - Fork 149
Description
Hello,
I got this error today:
2024/01/14 11:05:19] - Debug level: 2 [2024/01/14 11:05:19] - Opening https://www.noip.com/login... [2024/01/14 11:05:21] - Logging in... [2024/01/14 11:05:25] - Opening https://my.noip.com/dynamic-dns... [2024/01/14 11:05:28] - Message: no such element: Unable to locate element: {"method":"xpath","selector":".//following-sibling::td[4]/button[contains(@class, 'btn')]"} (Session info: headless chrome=90.0.4430.212) Stacktrace: #0 0x560e0bb1e7f9 <unknown> #1 0x560e0babe3b3 <unknown> #2 0x560e0b806016 <unknown> #3 0x560e0b83a81e <unknown> #4 0x560e0b831e67 <unknown> #5 0x560e0b85dded <unknown> #6 0x560e0b831d7b <unknown> #7 0x560e0b85dfce <unknown> #8 0x560e0b86e9e1 <unknown> #9 0x560e0b85dc93 <unknown> #10 0x560e0b82fce4 <unknown> #11 0x560e0b8314d2 <unknown> #12 0x560e0baea542 <unknown> #13 0x560e0baf9ce7 <unknown> #14 0x560e0baf99e4 <unknown> #15 0x560e0bafe13a <unknown> #16 0x560e0bafa5b9 <unknown> #17 0x560e0badfe00 <unknown> #18 0x560e0bb115d2 <unknown> #19 0x560e0bb11778 <unkno...
It seems to be related with:
def get_host_button(host, iteration): return host.find_element(By.XPATH, ".//following-sibling::td[4]/button[contains(@class, 'btn')]")