def set_csrf_token(csrf_token): """Changing the CSRF Token on the fly via the DOM by iterating over the meta tags Args: csrf_token: Token to set as the CSRF token. """ return sel.set_attribute(page.csrf_token, "content", csrf_token)