Thread isolation

Hayk Kocharyan

Новичок
Регистрация
14.06.2025
Сообщения
3
Благодарностей
0
Баллы
1
I created a project with the following logic: it starts by making a GET request, parses the data, clears cookies, sets parsed JSON data into variables, then opens the browser and uses those variables.


I run the project with -1 and up to 20 threads. However, sometimes I get a problem where two threads run simultaneously in the same browser, or one thread starts working halfway through another thread’s process, causing similar issues.


How can I fix this?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)