Ask your own question, for FREE!
Computer Science 26 Online
Aratox:

I want to run a Selenium ChromeDriver on Replit which can run several [Chrome] extensions. I believe I've found the right packages (a combination of Selenium and ngrok) to run the headless browser, however I'm not sure how to download the .crx files for the Chrome extensions (this just downloads the extensions on my end). Can anyone help? (I'd also like help setting up the extensions within the code, I'ven't worked with this before lol)

Lexxie:

.....

Aratox:

@ultrilliam @curriful @extrinix

Hero:

Ask this question on Replit's Discord Server

Aratox:

@hero wrote:
Ask this question on Replit's Discord Server
I don't think they have one that's why I'm asking here (if they actually do have a Discord server then it's pretty hard for me to find lol)

Hero:

Always start with Reddit

Evyleafs:

Lmao, didn´t understand half the things said. other than ¨I want to run¨🥲

Aratox:

@evyleafs wrote:
Lmao, didn´t understand half the things said. other than ¨I want to run¨🥲
"I want to set up a Chrome browser on Replit that can run several extensions, using a tool called Selenium. I think I have the right tools (Selenium and ngrok) to get a headless browser going, but I’m not sure how to download the extension files in the right way—they’re just downloading to my computer instead. Could anyone help me with downloading and setting up the extensions in my code? I’m pretty new to this part!" - ChatGPT simplification of what I said

Evyleafs:

Uh-huhhh, thanks, helpful =]

Evyleafs:

You approve it yet tho?

Aratox:

@evyleafs wrote:
You approve it yet tho?
What?

Evyleafs:

Approving the extensions- wait hold on- wy on? Device wise

Aratox:

@evyleafs wrote:
Approving the extensions- wait hold on- wy on? Device wise
There's nothing about approving any extensions. I'm just trying to get the .crx files for the chrome extensions so that I could add them to my Repl

Evyleafs:

Ah, I see. mb

Evyleafs:

I was thinkin u meant smth else

ihy:

Step 1: Download the .crx files Find the Extension: Go to the Chrome Web Store and find the extension you want. Use a CRX Downloader: You can use online tools like "Chrome Extension Downloader" to download the .crx file. Simply enter the URL of the extension and download the file. Step 2: Set Up Replit Create a New Replit: Start a new Python or Node.js Replit, depending on your preference. Install Dependencies: Ensure you have selenium and ngrok installed. You can add these in the package manager. Step 3: Upload the .crx Files Upload the .crx files: In Replit, you can upload the downloaded .crx files by using the upload button in the file explorer. Step 4: Set Up ChromeDriver with Extensions Step 5: Run ngrok If you're using ngrok to expose your local server, you can set it up in your Replit environment. Start it by running: The screenshots for the python code, and an example of how to configure Selenium with ChromeDriver to load extensions, AND here the ngrok code.

ihy:

Aratox:

lol the GPT program "Step 5" below 💀

ihy:

Nah fr though lol.

FaGG0t:

can u spam so when i come back its 1000+ over?

ykbatman:

bro what..

ykbatman:

my brain hurts

ykbatman:

i couldnt even finish reading all dat

Spectrum:

You're trying to bypass your school firewall, aren't you?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!