How to run SeleniumBase with headless mode? #3085
              
  
  Closed
              
          
                  
                    
                      FindingBen
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| Nevermind it worked :) | 
Beta Was this translation helpful? Give feedback.
                  
                    0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I saw already some discussions on how to run seleniumbase driver using headless but it doesn't help my case.
Basically I just want to run it in headless mode because I will then deploy this in my Lambda function on ECR on AWS. I have the code wrote up and it works perfectly but now I just need it in headless so I did this:
`
class TestSimpleLogin(BaseCase):
def test_simple_login(self):
print('Hey e')
driver = Driver(undetectable=True,headless2=True)
`
But the driver gets stuck and nothing gets printed as you can see I added some prints to debug it.
My chrome version is : Version 128.0.6613.113 (Official Build) (64-bit) on Windows
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions