This commit is contained in:
piair 2024-02-27 01:35:06 +01:00
parent f1cce097ad
commit dc3e31d8d5

View File

@ -8,7 +8,7 @@ def set_language(ldriver):
ldriver.get("chrome://settings/languages") ldriver.get("chrome://settings/languages")
action = ActionChains(ldriver) action = ActionChains(ldriver)
action.reset_actions() action.reset_actions()
# select langage # select language
x_coord = 1200 x_coord = 1200
y_coord = 150 y_coord = 150
action.move_by_offset(x_coord, y_coord).click().perform() action.move_by_offset(x_coord, y_coord).click().perform()