Need a programmer (Node.js) - repair of the existing Chrome CDP program
🔧 Need a programmer (Node.js) — repair of the existing Chrome CDP program
There is a ready Windows program that has been working for months but suddenly broke without any code changes.
What the program does:
It sequentially opens real Chrome profiles, goes to threeplus.three.co.uk, clicks Get Reward → My Codes, reads 1 code, and saves it in CSV. It works one-by-one, without parallel runs.
Problem:
After the first Chrome profile does not close physically, chrome.exe remains, and the next run fails with:
Protocol error (Target.setAutoAttach): Target closed
Already checked (this is NOT the reason):
JSON / config / number of profiles
maxProcessCount
rewards_url / site logic
antivirus / Defender
Chrome path / compatibility of chrome.exe
temporary clean profile works
the program worked yesterday without changes
Task:
Fix correct shutdown of Chrome / CDP, without rewriting the program.
❌ Selenium / headless / proxy
✅ Real Chrome, CDP, existing profiles
💸 I expect a low-cost implementation
(including — because the site changes several times a month — I will regularly contact you for payment for minor adjustments).
Below is part of the original order when I ordered the program.
🎯 Goal
Create a desktop program (in Python or Node.js) that automatically opens real Chrome profiles, logs into 20 Three+ accounts, clicks Get Reward, goes to My Codes, extracts the code in the form of TH3DC\d{9,} and adds it to the corresponding row in CSV.
⚙️ Functionality
Runs manually on Windows (without auto-start or services).
Works through real Chrome with local profiles (
user-data-dir+profile-directory).Does not use headless mode, Selenium, HTTP requests, or proxies.
Simulates human actions: launching the browser, clicking, navigating, pausing.
Processes up to 20 accounts per run (specified in the config).
Skips accounts where the code is already in CSV.
🔄 Workflow Algorithm
Step 1: Load Configuration
Reads
settings.json(chrome path, list of profiles, CSV path, delays).Reads CSV, identifies accounts without codes.
Step 2: Process Each Profile
Launches Chrome with the specified profile:
iniCopyEdit--user-data-dir=<user_data_dir>
--profile-directory=<profile_dir>
--remote-debugging-port=9222Connects via CDP (Playwright or Puppeteer).
Opens
rewards_url.Waits for the page to fully load.
Clicks the
Get Rewardbutton (with a valid click, not.click()): valid click (via Playwright/Puppeteer with mouse.move + mouse.down + mouse.up, without .click()).Waits 3–5 seconds.
Step 3: Read Code from My Codes
Goes to the page
https://threeplus.three.co.uk/my-rewards
(or clicksGo to my codesif it appeared after Get Reward).Searches for the last code in the format
TH3DC\d{9,}in the DOM (via innerText / textContent).Saves in CSV as:
CopyEditProfile_01,TH3DC103897998490
Closes the browser (but does not log out).
Waits a random delay (20–40 seconds).
Repeats for up to 20 accounts.
🧠 How the code is read (clear algorithm)
OCR, screenshots, and modal windows are not used.
The code is always read from the My Codes page - after clicking "Get Reward"
Code format:
TH3DC103897998490(pattern:TH3DC\d{9,}).Reading: through DOM (
innerText,textContent,evaluate()).
⚙️ Configuration (settings.json)
jsonCopyEdit{
"chrome_path": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
"profiles": [
{
"user_data_dir": "C:\\Users\\User\\AppData\\Local\\Google\\Chrome\\User Data",
"profile_dir": "Profile 1"
}
// ...
],
"rewards_url": "https://threeplus.three.co.uk/rewards",
"csv_path": "C:\\path\\to\\accounts.csv",
"delay_range_seconds": [90, 240]
}📄 CSV Format
csvCopyEditaccount,code
profile_01,
profile_02,
account— profile identifiercode— field where the received code will be written
🚫 Prohibited
| Action | Reason |
|---|---|
| Selenium/WebDriver | Easy to detect, triggers SMS |
| Headless mode | Detected by the site |
| HTTP/API requests | Flutter Web, Canvas rendering |
| Multithreading | Causes suspicion/blocking |
| Proxy or IP change | Triggers re-authentication |
| Delays < 5 seconds | Unusual behavior |
📦 Expected output files
.exefor Windows (1 file).Full source code with comments.
README.mdwith instructions.Example
settings.json.
Need a programmer (Node.js) - repair of the existing Chrome CDP program - which I made here for $34
What has already been checked and is NOT the cause:
JSON / config:
maxProcessCount,rewards_url,chrome_path,csv_path— correct.
Changes in JSON do not affectremote_debugging_port(the code does not account for it).Antivirus / Defender / Firewall:
Disabled, not blocking.
Ports checked — no conflicts.Chrome:
Path is correct, clean profile launches.
Manual launch with--user-data-dirworks → Chrome itself is okay.Remote debugging ports:
9222 is unstable, others (9223+, 9333) work manually.
The program does not connect tohttp://localhost:<port>/json→ CDP does not open.Launching/closing Chrome through the program:
First profile is okay.
After that — hanging Chrome process and error:Protocol error (Target.setAutoAttach): Target closed.Three+ site:
Logic has not changed, works manually.
Key new factor:
The problem started after the Chrome update, meaning most likely the update changed:
behavior
--remote-debugging-portprocess start time
CDP-attach policy
or requirements for flags/arguments.
Brief conclusion for the programmer:
The program configuration is normal.
The main problem is in the way of launching and connecting to Chrome via CDP.
After the last Chrome update, the behavior of--remote-debugging-portchanged, and the program either does not wait for a stable start or closes the process incorrectly.
So now:
CDP does not manage to open
hanging Chrome processes block subsequent profiles
and the following appears:
Target.setAutoAttach → Target closed.
Потрібен програміст (Node.js) - ремонт існуючої Chrome CDP програми - яку я зробив тут за $34
Що вже перевірено та НЕ є причиною:
JSON / config:
maxProcessCount,rewards_url,chrome_path,csv_path— коректні.
Зміни в JSON не впливають наremote_debugging_port(код не враховує).Антивірус / Defender / Firewall:
Вимкнені, не блокують.
Порти перевірені — конфліктів немає.Chrome:
Шлях правильний, чистий профіль запускається.
Ручний запуск з--user-data-dirпрацює → сам Chrome ок.Remote debugging ports:
9222 нестабільний, інші (9223+, 9333) працюють вручну.
Програма не підключається доhttp://localhost:<port>/json→ CDP не відкривається.Запуск/закриття Chrome через програму:
Перший профіль ок.
Далі — завислий Chrome процес і помилка:Protocol error (Target.setAutoAttach): Target closed.Сайт Three+:
Логіка не змінювалась, вручну працює.
Ключовий новий фактор:
Проблема почалася після оновлення Chrome, тобто найбільш ймовірно update змінив:
behavior
--remote-debugging-portчас старту процесу
політику CDP-attach
або вимоги до flags/аргументів.
Стислий висновок для програміста:
Конфігурація програми в нормі.
Основна проблема — у способі запуску та підключення до Chrome через CDP.
Після останнього оновлення Chrome змінилась поведінка--remote-debugging-port, і програма або не чекає стабільного старту, або неправильно закриває процес.
Тому зараз:
CDP не встигає відкритись
завислі процеси Chrome блокують наступні профілі
і з’являється:
Target.setAutoAttach → Target closed.
-
2 days50 USD
10299 129 0 2 days50 USDGood day.
I have practical experience working with Chrome CDP and automations based on Puppeteer, particularly with real Chrome profiles and the correct browser lifecycle on Windows.
To better understand the possible causes of the problem and assess the scope of work and cost, please send a code snippet.
After reviewing, I will be able to propose a specific solution without rewriting the entire program and provide an estimated price.
-
3 days50 USD
573 9 0 3 days50 USDWrite in private messages. For further diagnosis of the problem, I need the code of your parser and instructions on how you are currently running the parser.
-
1 day30 USD
6071 53 4 1 day30 USDGood day. Such a problem often arises in similar programs. I am ready to find and fix the error. I will be waiting in private messages to discuss the details.
-
1 day70 USD
3160 23 1 3 1 day70 USDYou are looking for a solution to the previous challenges with Chrome CDP – I am exactly the specialist who will help establish a correct browser shutdown, taking into account all specific requirements. With experience in creating reliable systems, I will conduct a thorough analysis to identify the root of the problem with Target.closed and optimize the shutdown process. Developing SaaS platforms gives me a solid foundation to address your tasks in a timely manner and without unnecessary costs. Let's ensure that your applications are running flawlessly again.
-
1 day500 USD
8193 63 1 1 day500 USDGood day,
I am ready to take on your project to repair the existing Chrome CDP program on Node.js. I have experience working with real Chrome, CDP, and existing profiles. The goal of the task is to fix the correct shutdown of Chrome / CDP, without rewriting the program. In the process of solving the problem with Chrome not closing after the first profile, I will ensure the program operates according to your requirements and constraints.
My rate is $16 per hour. I look forward to further instructions to start working.
Arthur
-
10 days1500 USD
12784 4 2 10 days1500 USDDear Hiring Manager,
I am a skilled Node.js developer with extensive experience in automating browser tasks using Chrome DevTools Protocol (CDP) and tools like Puppeteer, making me well-equipped to diagnose and resolve the "Target closed" error in your existing Windows program without rewriting the codebase. Having successfully debugged similar issues related to browser session management and proper shutdown in multi-profile environments, I can ensure seamless sequential processing of your Three+ reward extraction across real Chrome profiles. My approach will focus on fixing the CDP connection and Chrome closure logic while adhering strictly to your requirements—no Selenium, headless mode, or proxies involved. I offer a low-cost implementation and am available for ongoing minor adjustments as the site evolves, ensuring long-term reliability for your automation needs.7.2s
-
2 days100 USD
288 2 days100 USDHi there,
I can help you quickly fix the Chrome CDP shutdown issue without rewriting your program or changing the existing architecture. I have hands-on experience with Node.js, Puppeteer/Playwright over CDP, and managing real Chrome profiles on Windows, including proper process lifecycle handling.
My approach will focus on identifying why chrome.exe is not terminating correctly, fixing the CDP detach and browser close sequence, and ensuring each profile fully shuts down before the next one starts. This will resolve the Target closed error while keeping your current logic, delays, and human-like behavior intact.
Estimated time: 1–3 days
Cost: low-cost, fixed price (we can agree upfront)
Availability: can start immediately and available for future small fixes as the site changes
…
I’m comfortable with ongoing minor adjustments on a pay-per-task basis and keeping the tool stable long term.
If you’d like, I can start with a quick diagnostic and confirm the exact fix before proceeding.
Best regards
-
Кілька місяців тому – зробити таку програму тут було 30+ пропозицій (50% – £25) – зараз тиша. Де проблема, сайт "погас"?
Зараз потрібно знайти помилку в роботі - все відкрито.
Чи може легше створити нову програму?
Буду вдячний за допомогу!
-
Current freelance projects in the category Data Parsing
Consultation on parsing Instagram account subscribersHello. It is necessary to conduct a preliminary assessment of the feasibility of the following task. I have a list of Instagram accounts. The goal is to obtain contact information (primarily email addresses) of users who follow these accounts. Previously, I encountered companies… Data Parsing ∙ 2 days 2 hours back ∙ 12 proposals |
A specialist is needed to find contacts of decision-makers in Ukraine.It is necessary to gather a database (or ready database) of contacts of decision-makers (DMs) in companies in Ukraine. Information Gathering, Data Parsing ∙ 2 days 7 hours back ∙ 16 proposals |
Need to scrape data from LinkedInWe need to scrape data from LinkedIn based on our list. For each entry, we need to find and collect available data if it exists on the LinkedIn profile, including the profile picture on the LinkedIn social network, email address, links to social media, company website, and… Data Parsing ∙ 2 days 13 hours back ∙ 27 proposals |
Parsing and classification of dataWe are looking for a developer to implement a system for collecting and structuring data from open sources. We have a database of small business owners in the USA, which contains the person's name, company name, address, and state. It is necessary to build a process for… Web Programming, Data Parsing ∙ 2 days 14 hours back ∙ 41 proposals |
Svitlahata
17 USD
It is necessary to import 1819 products from the XML/YML feed of Prom.ua to OpenCart 3. A ready XML file is available, which contains product names, descriptions, prices, photos, specifications, manufacturers, and categories. Requirements: import all products to OpenCart… Content Management Systems, Data Parsing ∙ 3 days 17 hours back ∙ 34 proposals |