npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

undetected-chrome-drive

v4.3.0

Published

A node module coded by a module in python (https://github.com/ultrafunkamsterdam/undetected-chromedriver) into javascript. Chromedriver patch which does not trigger anti-bot services like Distill Network / Imperva / DataDome / Botprotect.io Automatically

Downloads

72

Readme

Undetected-chrome-drive 4.3.0

A node module coded by a module in python (https://github.com/ultrafunkamsterdam/undetected-chromedriver) implementation javascript. Chromedriver patch which does not trigger anti-bot services like Distill Network / Imperva / DataDome / Botprotect.io Automatically downloads the driver binary and patches it.

Requirements: Python 3.6++ NodeJs 14.x++ Undetected_chromedriver 3.5.4

Installation:

pip3 install undetected_chromedriver==3.5.4

or

pip install undetected_chromedriver==3.5.4

Then to install from npm

npm i undetected-chrome-drive@latest

Example Use:

const unchrome = require('undetected-chrome-drive')
// Main usage. You need to add driver into the global variables part else it wont work. Other are your choice to add, just add if you use them. After it the other two args are needed. First is the python command for program to work. (python or python3) Second is if you want it to run headless or not. (For running headless write "true" if you don't want headless mod write "false".)
unchrome.driver((driver, time, add) => {
// Imports the time module for use.
add.time
// After the launch of the driver opens the website that is written. (1 website at a time for now.)
driver.get("https://nowsecure.nl")
// Waits 10 seconds before continuing.
time.sleep(10)
// End the instance of the driver.
driver.close()
}, "python3", "true");

Extra Usage: You can use these codes inside the driver.


// This saves a screenshot of the website you are trying to reach.

driver.save_screenshot('nowsecure.png')


// This executes a code that you can interact with the website you opened. Same as using console on a website to interact with it.

driver.execute_script(
     """
        let container = document.querySelector('#rso');
        let el = document.createElement('div');
        el.style = 'width:500px;display:block;background:red;color:white;z-index:999;transition:all 2s ease;padding:1em;font-size:1.5em';
        el.textContent = "Excluded from support...!";
        container.insertAdjacentElement('afterBegin', el);
        setTimeout(() => {
            el.textContent = "<<<  OH , CHECK YOUR CONSOLE! >>>"}, 2500)
"""
)

I always welcome contritubers.

Discord: __okeanos__

Mail: [email protected]

Github: https://github.com/denene12/undetected-chrome-drive