Last active
January 10, 2017 19:18
-
-
Save drkpkg/f62ce408a7e37e481a5fed144eaee55e to your computer and use it in GitHub Desktop.
AHHHHH
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
//todo-spec.js | |
describe('4chin page', function() { | |
it('click in image', function() { | |
browser.ignoreSynchronization = true; // Non angular page | |
browser.driver.manage().window().maximize(); | |
browser.get('http://boards.4chan.org/wg/thread/6813282/like-this'); | |
var list = element.all(by.css('.fileThumb')); | |
list.each(function(elem){ | |
elem.click(); | |
}); | |
// browser.sleep(10000); | |
// expect(completedAmount.count()).toEqual(2); | |
}); | |
}); | |
//conf.js | |
exports.config = { | |
seleniumAddress: 'http://localhost:4444/wd/hub', | |
specs: ['todo-spec.js'] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment