Created
July 13, 2015 00:29
-
-
Save styks1987/05e40b8676bfb568a899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
casper.waitForUrl('/pricing/index/upload-your-artwork', function () { | |
this.echo('On to uploading your artwork'); | |
casper.waitForSelector('#title_region', function () { | |
casper.evaluate(function () { | |
el = document.querySelector('#title_region'); | |
el.style.display = "none"; | |
el.style.width = "auto"; | |
el.style.height = "auto"; | |
}); | |
this.fill('#BuildYourLabel', { | |
'artwork_placeholder': 'lissa.jpg' | |
}); | |
this.wait(6000, function() { | |
this.capture('UPLOADDED3.png'); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment