I have a array called accounts which gets all the href's i want, i then want to open each of these, i have tried the following code
accounts = self.driver.find_elements_by_xpath("//a[contains(@href, '/signin?')]")
for account in accounts:
self.driver.get(account)
time.sleep(3)
But returns
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: 'url' must be a string
(Session info: chrome=80.0.3987.132)