This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
python-aternos/examples/info_example.py

15 lines
248 B
Python
Raw Normal View History

from getpass import getpass
2023-08-08 09:57:41 +03:00
from selenium.webdriver import Firefox
from python_aternos import Client
user = input('Username: ')
pswd = getpass('Password: ')
2023-08-08 09:57:41 +03:00
driver = Firefox()
2023-08-08 09:57:41 +03:00
atclient = Client(driver)
atclient.login(user, pswd)
2023-08-08 09:57:41 +03:00
driver.quit()