forked from piair/MsRewards-Reborn
chrome 119 support, IDK why it is this version and not any other one
This commit is contained in:
parent
e32efc1bf7
commit
7b0c82ca14
@ -15,18 +15,12 @@ def set_language(ldriver):
|
|||||||
sleep(0.5)
|
sleep(0.5)
|
||||||
# scroll down
|
# scroll down
|
||||||
action.reset_actions()
|
action.reset_actions()
|
||||||
x_coord = 1210
|
elm = ldriver.find_element(By.XPATH, "/html/body")
|
||||||
y_coord = 430
|
ActionChains(ldriver)\
|
||||||
action.move_by_offset(x_coord, y_coord).click().perform()
|
.send_keys("french")\
|
||||||
for i in range(5):
|
.pause(0.5)\
|
||||||
action.click().perform()
|
.send_keys(Keys.TAB + Keys.TAB + Keys.ENTER + Keys.TAB + Keys.TAB + Keys.ENTER)\
|
||||||
# choose french
|
.perform()
|
||||||
action.reset_actions()
|
|
||||||
x_coord = 745
|
|
||||||
y_coord = 572
|
|
||||||
action.move_by_offset(x_coord, y_coord).click().perform()
|
|
||||||
# enter
|
|
||||||
action.reset_actions()
|
|
||||||
x_coord = 1163
|
x_coord = 1163
|
||||||
y_coord = 717
|
y_coord = 717
|
||||||
action.move_by_offset(x_coord, y_coord).click().perform()
|
action.move_by_offset(x_coord, y_coord).click().perform()
|
||||||
|
Loading…
Reference in New Issue
Block a user