mirror of
				https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
				synced 2025-11-03 23:23:53 +01:00 
			
		
		
		
	Actualiser V6.py
This commit is contained in:
		
							
								
								
									
										4
									
								
								V6.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								V6.py
									
									
									
									
									
								
							@@ -511,11 +511,15 @@ def login_part_1():
 | 
				
			|||||||
    info("Starting part 1 of login")
 | 
					    info("Starting part 1 of login")
 | 
				
			||||||
    driver = config.WebDriver.driver
 | 
					    driver = config.WebDriver.driver
 | 
				
			||||||
    driver.get("https://login.live.com")
 | 
					    driver.get("https://login.live.com")
 | 
				
			||||||
 | 
					    try:
 | 
				
			||||||
        wait_until_visible(By.ID, "i0116", browser=driver)
 | 
					        wait_until_visible(By.ID, "i0116", browser=driver)
 | 
				
			||||||
        send_wait_and_confirm(
 | 
					        send_wait_and_confirm(
 | 
				
			||||||
            driver.find_element(By.ID, "i0116"),
 | 
					            driver.find_element(By.ID, "i0116"),
 | 
				
			||||||
            config.UserCredentials.get_mail()
 | 
					            config.UserCredentials.get_mail()
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					    except exceptions.NoSuchElementException:
 | 
				
			||||||
 | 
					        info("Unable to find mail input for login, might be semi-logged-in")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    wait_until_visible(By.ID, "i0118", browser=driver)
 | 
					    wait_until_visible(By.ID, "i0118", browser=driver)
 | 
				
			||||||
    send_wait_and_confirm(
 | 
					    send_wait_and_confirm(
 | 
				
			||||||
        driver.find_element(By.ID, "i0118"),
 | 
					        driver.find_element(By.ID, "i0118"),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user