I need you to write a casperjs script to do automate a web navigation flow. Sometime the site might load with captcha for login
Address : [login to view URL]
Flow
1) Login
2) Once logged in goto "[login to view URL]"
3) Copy value next to "ACTIVE ACCOUNT BALANCE:"
4) Page value next to "AMOUNT OF DEPOSIT:"
5) Click "Pay with account earnings"
6) email : "ACTIVE MINING HASHPOWER" and copied value to my email address
7) logout