def update_xsuper(self):
infor_device = {
"os": "Windows",
"browser": "Chrome",
"device": "",
"system_locale": "en-US",
"browser_user_agent": self.user_agent,
"browser_version": "115.0.0.0",
"os_version": "10",
"referrer": "",
"referring_domain": "",
"referrer_current": "",
"referring_domain_current": "",
"release_channel": "stable",
"client_build_number": 218051,
"client_event_source": None
}
json_string = json.dumps(infor_device)
base64_string = base64.b64encode(json_string.encode())
self.session.headers.update({'X-Super-Properties':base64_string.decode()})