Driver close after finishing with out .quit() #3105
              
  
  Closed
              
          
                  
                    
                      ahmed-syntax
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 9 replies
-
| The context manager formats close the driver after the indented block ends. You could try the Driver() format: https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/syntax_formats.md#sb_sf_23 | 
Beta Was this translation helpful? Give feedback.
                  
                    9 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
`from seleniumbase import SB
with SB(uc=True) as sb:
url = "https://gitlab.com/users/sign_in"
sb.uc_open_with_reconnect(url, 4)`
Sb.type('username', 'theusername')
How can I make the driver never close till i give it the permission for that .quit()
Beta Was this translation helpful? Give feedback.
All reactions