Bitcoin Forum

Economy => Service Discussion => Topic started by: pawanjain on March 01, 2019, 09:27:28 AM



Title: Automating freebitco.in through Selenium Webdriver
Post by: pawanjain on March 01, 2019, 09:27:28 AM
As you all know that freebitco.in is a faucet that gives few Satoshis for visiting the site and clicking on the Roll button.
I tried automating this process through Selenium Webdriver and reached to the poin where we have to enter the captcha. Since entering the captcha wasn't feasible I tried clicking on 'Play without captcha' but the code fails there. The reason being that the  browser was not able to find the element. I did check it again and the element was still present.
I tried this just for fun but am curious now why did the code fail. Does anyone here has the knowledge of Selenium and can help me fix my code ?


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: TryNinja on March 01, 2019, 09:30:32 AM
Try finding it with the element’s xpath. You can get an browser extension that gets any button’s/element’s full xpath, so it won't miss it.


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: pawanjain on March 02, 2019, 02:16:54 PM
Try finding it with the element’s xpath. You can get an browser extension that gets any button’s/element’s full xpath, so it won't miss it.
I did find all the elements through xpath and I have also given a wait time of 5 seconds but still the error exists that the element was not found.


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: buwaytress on March 03, 2019, 10:09:07 AM
You might get more helpful answers in the official thread itself.

But it seems to me, you can't "play without captcha" unless you unlock the no-captcha bonus at the site, which can only be done by either buying lottery tickets or playing the dice game there... both which require you spending some deposits.


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: TryNinja on March 03, 2019, 10:42:37 AM
I did find all the elements through xpath and I have also given a wait time of 5 seconds but still the error exists that the element was not found.
Would you mind sharing your code with me through PM?


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: davis196 on March 03, 2019, 12:59:50 PM
As you all know that freebitco.in is a faucet that gives few Satoshis for visiting the site and clicking on the Roll button.
I tried automating this process through Selenium Webdriver and reached to the poin where we have to enter the captcha. Since entering the captcha wasn't feasible I tried clicking on 'Play without captcha' but the code fails there. The reason being that the  browser was not able to find the element. I did check it again and the element was still present.
I tried this just for fun but am curious now why did the code fail. Does anyone here has the knowledge of Selenium and can help me fix my code ?

Faucet bots were a thing maybe 3 or 4 years ago.It's a waste of time and you will make probably 0,001btc after one year.Are you using some VPS to automate 24/7?Without VPS the bot is pretty much worthless.
I remember there were some captcha solving bots/services online,but they are all paid,I guess.


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: pawanjain on March 05, 2019, 01:56:17 PM
You might get more helpful answers in the official thread itself.

But it seems to me, you can't "play without captcha" unless you unlock the no-captcha bonus at the site, which can only be done by either buying lottery tickets or playing the dice game there... both which require you spending some deposits.

There are two methods through which we can 'Roll' on freebitco.in . The first method is to choose any option from their list of things to do for playing without captcha which includes depositing a certain amount or buying lottery tickets and the second option is to click on 'Play without captcha' button on their homepage. The second method deducts 2 reward points from your account and enables us to click on 'Roll' without solving any captcha.

I did find all the elements through xpath and I have also given a wait time of 5 seconds but still the error exists that the element was not found.
Would you mind sharing your code with me through PM?
Sure. Done PMing you the code.


Title: Re: Automating freebitco.in through Selenium Webdriver
Post by: TryNinja on March 05, 2019, 03:45:30 PM
Would you mind sharing your code with me through PM?
Sure. Done PMing you the code.
I sent you my code try. Let me know if it works.