Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A package that allows users to capture full-page screenshots of websites using Selenium and Chrome webdriver.
A package that allows users to capture full-page screenshots of websites using Selenium and Chrome webdriver.
Tested with Python version 3.8.3
pip install pywebcapture
Import the modules:
from pywebcapture import loader, driver
Use the CSVLoader to load your csv file containing the urls and optional file names:
Options:
csv_file = loader.CSVLoader("example.csv", True, 3, None)
Call the get_uri_dict() method from the CSVLoader instance, this parses the CSV into a Python dictionary:
uri_dict = csv_file.get_uri_dict()
Create instance of the web driver:
Options:
d = driver.Driver("path/to/chrome/webdriver", None, 3, uri_dict)
Run the driver, this will loop through all uri's, get the maximum scrollheight and then take a screenshot
d.run()
FAQs
A package that allows users to capture full-page screenshots of websites using Selenium and Chrome webdriver.
We found that pywebcapture demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.