sarankavalan

Registered Member
Joined
Sep 12, 2015
Messages
53
Reaction score
9
Hey guys,

I am trying to do automation on twitter to auto create accounts.
I am done with all codings and captcha bypass. But twitter detects my automation after entering verification code and i click on next button.

Till entering email verification code. there are no issues. but clicking on next button is detected. To confirm that i actually paused the automation on this step. then i manually clicked next then it is not detected.

Tried different solutions like Simulate Mouse Movement, ActionChains, windows scrolls, Random Time Delays - But nothing works.
Twitter detects it and not letting me to navigate to next page.

My Py Code:

# Step 5: Click the 'Next' button after entering the OTP

next_button_1 = wait.until(EC.presence_of_element_located((By.XPATH, "//button[contains(@Class, 'r-sdzlij') and contains(@Class, 'r-1phboty')]")))
driver.execute_script("window.scrollBy(0, 200);")
time.sleep(random.uniform(0.3, 1.0))
driver.execute_script("arguments[0].scrollIntoView(true);", next_button_1)
ActionChains(driver).move_to_element(next_button_1).pause(random.uniform(0.3, 1.0)).click().perform()
print("✅ Clicked 2nd Next")
time.sleep(random.uniform(4.0, 6.5))



Source code of button:

<div class="css-175oi2r r-1f0wa7y"><div class="css-175oi2r"><div class="css-175oi2r"><div class="css-175oi2r r-b9tw7p"><button role="button" class="css-175oi2r r-sdzlij r-1phboty r-rs99b7 r-lrvibr r-19yznuf r-64el8z r-1fkl15p r-1loqt21 r-o7ynqc r-6416eg r-1ny4l3l" type="button" style="border-color: rgba(0, 0, 0, 0); background-color: rgb(239, 243, 244);"><div dir="ltr" class="css-146c3p1 r-bcqeeo r-qvutc0 r-37j5jr r-q4m81j r-a023e6 r-rjixqe r-b88u0q r-1awozwy r-6koalj r-18u37iz r-16y2uox r-1777fci" style="color: rgb(15, 20, 25);"><span class="css-1jxf684 r-dnmrzs r-1udh08x r-1udbk01 r-3s2u2q r-bcqeeo r-1ttztb7 r-qvutc0 r-poiln3 r-1inkyih r-rjixqe"><span class="css-1jxf684 r-bcqeeo r-1ttztb7 r-qvutc0 r-poiln3">Next</span></span></div></button></div></div></div></div>

Someone please Help me to solve this.

 
They are probably detecting your browser environment. I would suggest automating some anti detect browser
 
Well use playwright, playwright is much better when it comes to automation, (but by default playwright is detectable) use patchright patch for playwright which is completely undetectable and its free :) it can bypass cloudflare, creepjs, pixelscan etc
 
I suggest byou to use grok ai it's fantastic but sometimes it may make mistakes
 
1. Undetectable automation framework.
2. Clean proxies.
3. Clean fingerprints for each account.
4. Save browser profiles to keep fingerprints and cookies for each account.

You need to check all of those boxes.
 
1. Undetectable automation framework.
2. Clean proxies.
3. Clean fingerprints for each account.
4. Save browser profiles to keep fingerprints and cookies for each account.

You need to check all of those boxes.
And keep threads for each account separate because if there’s even a single RTC leak your account is cooked.
 
Twitter is detecting your automation due to the actions taken after entering the verification code. To fix this, try randomizing mouse movements, delays, and scrolling more naturally between steps to mimic human behavior. Proxy rotation can also help to avoid IP-based detection. But keep in mind that using automation in this way could violate Twitter’s terms and risk account bans, so be cautious.
 
Twitter is detecting your automation due to the actions taken after entering the verification code. To fix this, try randomizing mouse movements, delays, and scrolling more naturally between steps to mimic human behavior. Proxy rotation can also help to avoid IP-based detection. But keep in mind that using automation in this way could violate Twitter’s terms and risk account bans, so be cautious.
Agree. must act like you really read. move your pointer mouse at text.. Make it seem as if you are actually reading it with the help of your pointer.
beside that, off course, rotate ip, webrtc, any leak 'rules'
 
Well use playwright, playwright is much better when it comes to automation, (but by default playwright is detectable) use patchright patch for playwright which is completely undetectable and its free :) it can bypass cloudflare, creepjs, pixelscan etc
Thank you so much. A new idea is learnt. Lemme give a try.
 
Hey guys,

I am trying to do automation on twitter to auto create accounts.
I am done with all codings and captcha bypass. But twitter detects my automation after entering verification code and i click on next button.

Till entering email verification code. there are no issues. but clicking on next button is detected. To confirm that i actually paused the automation on this step. then i manually clicked next then it is not detected.

Tried different solutions like Simulate Mouse Movement, ActionChains, windows scrolls, Random Time Delays - But nothing works.
Twitter detects it and not letting me to navigate to next page.

My Py Code:

# Step 5: Click the 'Next' button after entering the OTP

next_button_1 = wait.until(EC.presence_of_element_located((By.XPATH, "//button[contains(@Class, 'r-sdzlij') and contains(@Class, 'r-1phboty')]")))
driver.execute_script("window.scrollBy(0, 200);")
time.sleep(random.uniform(0.3, 1.0))
driver.execute_script("arguments[0].scrollIntoView(true);", next_button_1)
ActionChains(driver).move_to_element(next_button_1).pause(random.uniform(0.3, 1.0)).click().perform()
print("✅ Clicked 2nd Next")
time.sleep(random.uniform(4.0, 6.5))



Source code of button:

<div class="css-175oi2r r-1f0wa7y"><div class="css-175oi2r"><div class="css-175oi2r"><div class="css-175oi2r r-b9tw7p"><button role="button" class="css-175oi2r r-sdzlij r-1phboty r-rs99b7 r-lrvibr r-19yznuf r-64el8z r-1fkl15p r-1loqt21 r-o7ynqc r-6416eg r-1ny4l3l" type="button" style="border-color: rgba(0, 0, 0, 0); background-color: rgb(239, 243, 244);"><div dir="ltr" class="css-146c3p1 r-bcqeeo r-qvutc0 r-37j5jr r-q4m81j r-a023e6 r-rjixqe r-b88u0q r-1awozwy r-6koalj r-18u37iz r-16y2uox r-1777fci" style="color: rgb(15, 20, 25);"><span class="css-1jxf684 r-dnmrzs r-1udh08x r-1udbk01 r-3s2u2q r-bcqeeo r-1ttztb7 r-qvutc0 r-poiln3 r-1inkyih r-rjixqe"><span class="css-1jxf684 r-bcqeeo r-1ttztb7 r-qvutc0 r-poiln3">Next</span></span></div></button></div></div></div></div>

Someone please Help me to solve this.

the detection not happend in clicking the next button, it started from the start, so try to automate in diffent ways
 
sure bro. thanks for the information.

How's your Progress with playwright so far? I have been working on it but now wonder if I should continue with or not?

I injected a custom stealth.js in it too just to be safe
 
How's your Progress with playwright so far? I have been working on it but now wonder if I should continue with or not?

I injected a custom stealth.js in it too just to be safe
I am still working with python selinium undetectable as I don't have enough time to code playwright. As of now it's working fine for me. Still I need to give a try for playwright.
 
Back
Top