Closed cuj closed 3 years ago
Hey, i have implemented this to NightFalls code using py2js but it cuts out the last 6 lines of the account token
Hey, i have implemented this to NightFalls code using py2js but it cuts out the last 6 lines of the account token
can you share the code?
Hi,
I also implemented that feature but in a different way (only using selenium).
self.localStorage = self.driver.execute_script("let popup; popup = window.open('', '',
width=1,height=1); if(!popup || !popup.document || !popup.document.write) console.log('Please allow popups'); window.dispatchEvent(new Event('beforeunload')); token = popup.localStorage.token.slice(1, -1); popup.close(); return token")
The token is now stored inside the self.localStorage variable hope that helps
@SARLAY could you help me add this my email is cyber4hits@gmail.com