Skip to content
  • Quentin Defenouillere's avatar
    [lcl] Avoid crash when trying get_operations() on the LoginPage · 99a5d295
    Quentin Defenouillere authored and Romain Bignon's avatar Romain Bignon committed
    Sometimes the LCL website does not work properly and we randomly land on
    the LoginPage while trying to get transactions:
    AttributeError: 'LoginPage' object has no attribute 'get_operations'
    
    I added an "if" to verify if we are on the login page and raise
    BrowserUnavailable before calling "get_operations()" to prevent these
    issues that are not always reproducible.
    
    Closes: 16243@Sibi
    99a5d295