This file contains hidden or 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
''' | |
Very basic Selenium script for placing free udemy corses from an url source e.g. mydealz into udemy shopping cart. | |
Purchase and login still has to occur manually. | |
1. Enter base url - may have to change things in for future runs | |
2. Run the script - watch out for captchas | |
3. Login | |
4. "buy" the courses in cart | |
''' |
This file contains hidden or 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
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts, | |
that detects and handles AJAXed content. | |
Usage example: | |
waitForKeyElements ( | |
"div.comments" | |
, commentCallbackFunction | |
); |