FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.
-
It is possible to use most popular automation frameworks with FingerprintSwitcher. List of supported frameworks: selenium, puppeteer, playwright and others. You can also use any other browser automation library which can work over CDP.
Consider following case: you have a project implemented with certain framework. It is fully functional and does what is intended to do. Now you want to change fingerprint for each browser instance that you running.
That is where new functionality described on this page comes in handy. All you need to do is require corresponding plugin for your favorite framework.
No need to rewrite your project, you just need to change a way how browser is started. All automation routine can remain the same. After these cosmetic changes will be made, your project will start using different fingerprints.
Here is how it look like for a project written in puppeteer framework:
How to start?
Firstly, you need to select plugin for automation framework you are using. Here are the list of available plugins:
- Puppeteer. Plugin for puppeteer framework(puppeteer-with-fingerprints) is available here.
- Selenium. Plugin for selenium framework(selenium-with-fingerprints) is available here.
- Playwright. Plugin for playwright framework(playwright-with-fingerprints) is available here.
Each of these plugins are adapted to specific framework. If you want to use framework which is not in the list, you can check more general plugin, browser-with-fingerprints. It allows to start browser, change its fingerprint and listen to any incoming CDP connections. Therefore, it can be used with any automation library which supports connection over CDP.
- Universal plugin. Plugin which allows connection from any framework(browser-with-fingerprints). It is available here.
In order to get more information and actually use plugins, you need to check documentation on one of the links above.
Limitations.
- Plugins are still in beta stage, it means that bugs may happen, including critical.
- Right now there is bug with ipv6 proxies. We are working on it.
- Currently only javascript is supported.
Developed by @Oyasumi-Punpun
-
maybe a python version? would be very nice
-
@NotWegant said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
maybe a python version? would be very nice
They haven't finished this javascript version yet))
-
@NotWegant said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
maybe a python version? would be very nice
I totally agree with you!
Python is way more popular than JavaScript these days, according to the PYPL popularity index (https://pypl.github.io/PYPL.html).
There are so many reasons why Python is a great choice. For one, it's super easy to learn and has a huge community of developers who are always ready to help out. Plus, Python is used in a ton of different fields, like data science, machine learning, web development, and scientific computing. It's got tons of libraries and frameworks that make it easy to create all kinds of cool stuff, so you can get your projects up and running in no time.
Basically, Python is the bomb and everyone should learn it.😄
-
@UserTrue said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@NotWegant said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
maybe a python version? would be very nice
They haven't finished this javascript version yet))
Since this is the source code, every user can participate in the development process. At the very least, we can test libraries by writing our own scripts, reporting bugs by creating issues, suggest new features, and so on.
Developers would likely welcome such user participation, as it can speed up the development process and improve the quality of the libraries.
-
This post is deleted!
-
yes i am totally agreed python vesrion would be nice
-
@sergerdn yes and no, its just javascript is more common for browser automation for a reason, bas is also most likely based on javascript, it makes sense they made a js version first, but ofc python version would be highly appreciated by everyone here
-
@NotWegant said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@sergerdn just javascript is more common for browser automation for a reason
I totally do not agree with you. When it comes to browser automation, Python enjoys slightly more popularity than JavaScript, though the difference isn't significant.
Downloads last week: 3,098,381
- javascript, https://www.npmjs.com/package/selenium-webdriver
Weekly Downloads average: 2,518,033
-
@NotWegant said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@sergerdn bas is also most likely based on javascript
I believe that the owner of BAS choose JavaScript because it is more familiar to him, his team is knowledgeable in it, and existing BAS users are also familiar with the language.
-
@sergerdn yes and no, doesnt matter if its really more popular believe it or not, but javascript is so much more better for browser automation, in python you have shitty selenium and playwright which is based on their js version of it. In js you can do much more! There are stealth plugins which actually work in js and much more, in terms of modules you will always prefer js before python.
-
@NotWegant said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@sergerdn yes and no, doesnt matter if its really more popular believe it or not, but javascript is so much more better for browser automation, in python you have shitty selenium and playwright which is based on their js version of it. In js you can do much more! There are stealth plugins which actually work in js and much more, in terms of modules you will always prefer js before python.
Python is much more popular than JavaScript in the world of many tools, but do you think it's necessary for people to learn another language just for automation purposes? Personally, I don't believe it is.
-
@sergerdn, not only selenium
- puppeteer:
JavaScript, https://www.npmjs.com/package/puppeteer
Weekly Downloads: 4,063,956
Python (unofficial deprecated), https://pypistats.org/packages/pyppeteer
Downloads last week: 298,382 - playwright:
JavaScript, https://www.npmjs.com/package/playwright
Weekly Downloads: 1,273,917
Python, https://pypistats.org/packages/playwright
Downloads last week: 268,530
- puppeteer:
-
@GhostZ said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@sergerdn, not only selenium
- puppeteer:
JavaScript, https://www.npmjs.com/package/puppeteer
Weekly Downloads: 4,063,956
Python (unofficial deprecated), https://pypistats.org/packages/pyppeteer
Downloads last week: 298,382 - playwright:
JavaScript, https://www.npmjs.com/package/playwright
Weekly Downloads: 1,273,917
Python, https://pypistats.org/packages/playwright
Downloads last week: 268,530
Yeah, my mistake. I'm not a JavaScript developer and might not know about all the frameworks out there. According to the stats of automation frameworks, JavaScript is currently very popular in the world of automation.
I believe this is due to the fact that many websites are built with JavaScript frameworks like Angular, React, Vue.js, and similar, and developers are testing their websites with JavaScript as well.I'm aware that using JavaScript for both client-side and server-side tasks can simplify the development process for full-stack developers. However, I still find it strange and personally don't believe that JavaScript is a good choice for server-side tasks.
In my experience, if a programmer is proficient in multiple languages, not just JavaScript, they usually don't choose JavaScript for server-side development or for writing tools. JavaScript is typically chosen by programmers who only know JavaScript.
- puppeteer:
-
@sergerdn said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
I'm aware that using JavaScript for both client-side and server-side tasks can simplify the development process for full-stack developers. However, I still find it strange and personally don't believe that JavaScript is a good choice for server-side tasks.
In my experience, if a programmer is proficient in multiple languages, not just JavaScript, they usually don't choose JavaScript for server-side development or for writing tools. JavaScript is typically chosen by programmers who only know JavaScript.It's just a holywar. You could just as well say that python is not suitable for serious servers and that they should be written in java or C#. There is also an opinion that python spoils the code writing style a lot ))))
-
@UserTrue said in [FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.]
It's just a holywar. You could just as well say that python is not suitable for serious servers and that they should be written in java or C#. There is also an opinion that python spoils the code writing style a lot ))))
As mentioned earlier, in my experience, programmers who are proficient in multiple programming languages - not just JavaScript - usually opt for other languages for server-side development or tooling. JavaScript tends to be chosen by programmers who only have experience in JavaScript.
Furthermore, I did not mention any other programming languages, such as Python or any cool other languages, in my previous last message 😄.
-
@sergerdn In any case, bot developers should know JavaScript) And for automation with CDP, it is quite convenient.
-
@Oyasumi-Punpun Great work, linux support planned?
-
@HELP_ME said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@Oyasumi-Punpun Great work, linux support planned?
inside, the BAS browser is used, it only works on windows
-
@UserTrue said in FingerprintSwitcher automation plugins: selenium, puppeteer, playwright, etc.:
@sergerdn In any case, bot developers should know JavaScript)
Who says bot developers need to know JavaScript? I've written multiple bots using different languages and they work perfectly fine.
For example, I once created a Gmail account generator that registered 10,000 Google accounts in just one day, without using JavaScript, BAS, or any antidetect tools.
That being said, some developers might choose to use JavaScript for bot development simply because it's the only programming language they know.