pychromeless | Python Lambda Chrome Automation | Functional Testing library
kandi X-RAY | pychromeless Summary
kandi X-RAY | pychromeless Summary
Python (selenium) Lambda Chromium Automation. PyChromeless allows to automate actions to any webpage from AWS Lambda. The aim of this project is to provide the scaffolding for future robot implementations.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handler for example lambda
- Close webdriver connection
- Return innerHTML of element identified by xpath
- Download a URL
pychromeless Key Features
pychromeless Examples and Code Snippets
Community Discussions
Trending Discussions on pychromeless
QUESTION
I am testing with the same code on MacOS and then deploying on AWS lambda. Everything works except for one function getting the screenshot.
For AWS lambda I am using setup described in https://github.com/21Buttons/pychromeless
With
Chrome driver https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zi
headless chrome https://github.com/adieuadieu/serverless-chrome/releases/download/v1.0.0-37/stable-headless-chromium-amazonlinux-2017-03.zip
...ANSWER
Answered 2019-Jan-11 at 01:37As it turned out the lambda was running out of memory, of course, no error given. After increasing memory to 1024MB, everything works as expected.
Sanity restored.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pychromeless
You can use pychromeless like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page