Is using selenium to take screenshot for reporting purposes discouraged by Google?
Obviously, I am unable to use the API to take screenshots. I want to know why I can't use cookie based authentication for Selenium to visit Adwords. I have the following code: save.py try: driver = webdriver.Chrome() driver.get('https://adwords.google.com') time.sleep(90) # Manually login to adwords page and wait pickle.dump( driver.get_cookies() , open("cookies.pkl","wb")) finally: driver.close() And this: load.py try: driver = webdriver.Chrome() cookies = pickle.load(open("cookies.pkl", "rb")) for cookie in cookies: driver.add_cookie(cookie) driver.get('https://adwords.google.com/') time.sleep(60) finally: driver.close() When I first run load.py, I am actually able to see the spinner that shows up when one logs into Adwords. Shortly after however, I get logged out! I don't know what is causing Google's authentication system to log me out. What do you think is the cause of this? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f3a8a8df-3c4c-4e42-853a-9d6929ce5bf2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.