Skip to content

Commit

Permalink
pge: use mobile site for login
Browse files Browse the repository at this point in the history
it seems to work more reliably
  • Loading branch information
jktomer committed Jan 8, 2024
1 parent d539913 commit f9c1a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finance_dl/pge.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def login(self):
if self.logged_in:
return
logger.info('Initiating log in')
self.driver.get('https://www.pge.com/en/myhome/myaccount/index.page')
self.driver.get('https://m.pge.com/')

(username, password), = self.wait_and_return(
self.find_username_and_password_in_any_frame)
Expand Down

0 comments on commit f9c1a37

Please sign in to comment.