Bitcoin Forum
January 18, 2020, 05:38:22 AM *
News: Latest Bitcoin Core release: 0.19.0.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Automating freebitco.in through Selenium Webdriver  (Read 110 times)
pawanjain
Sr. Member
****
Offline Offline

Activity: 1120
Merit: 289


★Bitvest.io★ Play Plinko or Invest!


View Profile
March 01, 2019, 09:27:28 AM
 #1

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 ?



BIG WINNER!
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░▄███
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████
██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░
▀██░▄▄▄▄░████▄▄██▄░░░░
▄████████████▀▀▀▀▀▀▀██▄
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄
▀██░████████░███████░█▀
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████
▀████████████████████▀




Rainbot
Daily Quests
Faucet
1579325902
Hero Member
*
Offline Offline

Posts: 1579325902

View Profile Personal Message (Offline)

Ignore
1579325902
Reply with quote  #2

1579325902
Report to moderator
1579325902
Hero Member
*
Offline Offline

Posts: 1579325902

View Profile Personal Message (Offline)

Ignore
1579325902
Reply with quote  #2

1579325902
Report to moderator
1579325902
Hero Member
*
Offline Offline

Posts: 1579325902

View Profile Personal Message (Offline)

Ignore
1579325902
Reply with quote  #2

1579325902
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1579325902
Hero Member
*
Offline Offline

Posts: 1579325902

View Profile Personal Message (Offline)

Ignore
1579325902
Reply with quote  #2

1579325902
Report to moderator
1579325902
Hero Member
*
Offline Offline

Posts: 1579325902

View Profile Personal Message (Offline)

Ignore
1579325902
Reply with quote  #2

1579325902
Report to moderator
TryNinja
Legendary
*
Offline Offline

Activity: 1260
Merit: 1753



View Profile
March 01, 2019, 09:30:32 AM
 #2

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.

pawanjain
Sr. Member
****
Offline Offline

Activity: 1120
Merit: 289


★Bitvest.io★ Play Plinko or Invest!


View Profile
March 02, 2019, 02:16:54 PM
 #3

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.



BIG WINNER!
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░▄███
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████
██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░
▀██░▄▄▄▄░████▄▄██▄░░░░
▄████████████▀▀▀▀▀▀▀██▄
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄
▀██░████████░███████░█▀
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████
▀████████████████████▀




Rainbot
Daily Quests
Faucet
buwaytress
Legendary
*
Offline Offline

Activity: 1232
Merit: 1129


https://bitcoin.watfordfc.com


View Profile
March 03, 2019, 10:09:07 AM
 #4

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.

TryNinja
Legendary
*
Offline Offline

Activity: 1260
Merit: 1753



View Profile
March 03, 2019, 10:42:37 AM
 #5

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?

davis196
Hero Member
*****
Offline Offline

Activity: 1400
Merit: 562



View Profile
March 03, 2019, 12:59:50 PM
 #6

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.

.
.
.
▄███████████████████▄
█████████████████████
████████████▀▀░░░░███
███████████▌░░░░░░███
███████████░░░░██████
███████████░░░░██████
████████░░░░░░░░░░▐██
████████░░░░░░░░░░███

███████████░░░░██████

███████████░░░░██████

███████████░░░░██████

███████████░░░░██████

▀██████████░░░░█████▀
▄███████████████████▄
█████████████████████
█████████████████████
████▀██████▀░░░▀▀▄███
████░░▀▀███░░░░░░▄███
████▀░░░░░░░░░░░▐████
████▄░░░░░░░░░░░█████
█████▀░░░░░░░░░▄█████

████▀█▄░░░░░░░▄██████

█████▄░░░░░▄▄████████

█████████████████████

█████████████████████

▀███████████████████▀
▄███████████████████▄
█████▀▀▀▀▀▀▀▀▀▀▀█████
███░░░▄▄▄▄▄▄▄▄▄░░░███
██░░▄█████████▀▀▄░░██
██░░███▀▀░░░▀▀▄▄█░░██
██░░██▀░▄███▄░▀██░░██
██░░██░░█████░░██░░██
██░░██▄░▀███▀░▄██░░██

██░░███▄▄░░░▄▄███░░██

██░░▀███████████▀░░██

███░░░▀▀▀▀▀▀▀▀▀░░░███

█████▄▄▄▄▄▄▄▄▄▄▄█████

▀███████████████████▀
▄███████████████████▄
█████████████████████
█████████████████████
██████████████▀▀▀████
██████████▀▀░░░░▐████
██████▀▀░░░▄▀░░░█████
████░░░░▄▄▀░░░░▐█████
██████▄▐█░░░░░░██████

███████▌▌░░░░░▐██████

████████▄██▄▄░███████

█████████████████████

█████████████████████

▀███████████████████▀
.
pawanjain
Sr. Member
****
Offline Offline

Activity: 1120
Merit: 289


★Bitvest.io★ Play Plinko or Invest!


View Profile
March 05, 2019, 01:56:17 PM
 #7

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.



BIG WINNER!
[15.00000000 BTC]


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░▄███
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████
██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░
▀██░▄▄▄▄░████▄▄██▄░░░░
▄████████████▀▀▀▀▀▀▀██▄
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄
▀██░████████░███████░█▀
▄████████████████████▄
████████▀▀░░░▀▀███████
███▀▀░░░░░▄▄▄░░░░▀▀▀██
██░▀▀▄▄░░░▀▀▀░░░▄▄▀▀██
██░▄▄░░▀▀▄▄░▄▄▀▀░░░░██
██░▀▀░░░░░░█░░░░░██░██
██░░░▄▄░░░░█░██░░░░░██
██░░░▀▀░░░░█░░░░░░░░██
██░░░░░▄▄░░█░░░░░██░██
██▄░░░░▀▀░░█░██░░░░░██
█████▄▄░░░░█░░░░▄▄████
█████████▄▄█▄▄████████
▀████████████████████▀




Rainbot
Daily Quests
Faucet
TryNinja
Legendary
*
Offline Offline

Activity: 1260
Merit: 1753



View Profile
March 05, 2019, 03:45:30 PM
 #8

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.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!