GithubHelp home page GithubHelp logo

rehanhaider / selenium-aws-chrome-extension Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 2.11 MB

Run Chrome with extension on Lambda using Selenium

License: GNU General Public License v3.0

Dockerfile 8.23% Shell 84.07% Python 7.71%

selenium-aws-chrome-extension's Introduction

Hi there πŸ‘‹, I'm Rehan Haider! 🌿🦁

Love breaking things and reassembling them (sometimes successfully). I'm an Enterprise Architect by profession, in my free time I collaborate on open source projects, and teach computer science to the youth.

Talk to me about anything on Twitter.

selenium-aws-chrome-extension's People

Contributors

rehanhaider avatar

Stargazers

 avatar  avatar

Watchers

 avatar

selenium-aws-chrome-extension's Issues

"Message: chrome not reachable"

Steps I took:

  1. I pulled the repo
  2. Update function MemorySize to 1024 in the template.yml because it would't work without it
  3. Ran sam build
  4. Ran sam local invoke

After some time, I get hit with this error...

{"errorMessage": "Message: chrome not reachable\nStacktrace:\n#0 0x004000a5fee3 \n#1 0x00400052d49f \n#2 0x00400051c169 \n#3 0x004000553d1f \n#4 0x00400054fc07 \n#5 0x00400054c46f \n#6 0x004000586f45 \n#7 0x004000581163 \n#8 0x004000556bfc \n#9 0x004000557c05 \n#10 0x004000a91baa \n#11 0x004000aa7651 \n#12 0x004000a92b05 \n#13 0x004000aa8a68 \n#14 0x004000a8705f \n#15 0x004000ac3818 \n#16 0x004000ac3998 \n#17 0x004000adeeed \n#18 0x004002c5bfa3 \n", "errorType": "WebDriverException", "requestId": "9668132e-086e-475c-bcfe-edc9f5676b12", "stackTrace": [" File "/function/app.py", line 37, in handler\n browser = webdriver.Chrome(service=webdriver_service, options=chrome_options)\n", " File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 70, in init\n super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",\n", " File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 93, in init\n RemoteWebDriver.init(\n", " File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 268, in init\n self.start_session(capabilities, browser_profile)\n", " File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 359, in start_session\n response = self.execute(Command.NEW_SESSION, parameters)\n", " File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute\n self.error_handler.check_response(response)\n", " File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response\n raise exception_class(message, screen, stacktrace)\n"]}%

Running on Macbook Pro M1 with Docker Desktop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.