Cloud emulation provider
See original GitHub issueAs suggested by @mebibou, the following quotes from #42 directly -
Also, I don’t know if you know ripple-emulator, but it allows you to run your app like an Android or iPhone app with some Cordova features (or writing your own bridges if you need more). Here’s my full protractor.conf.js
to give you an idea:
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
seleniumPort: 4444,
chromeDriver: '../node_modules/protractor/selenium/chromedriver',
directConnect: true,
framework: 'jasmine2',
baseUrl: 'http://localhost:8100',
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: ['--disable-web-security']
}
},
specs: [
'protractor/**/*.js'
],
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30 * 1000,
isVerbose: true
},
onPrepare: function() {
// Use ripple emulator to run the tests
var url = 'http://localhost:4400/?enableripple=cordova-3.0.0-' + browser.params.device;
browser.driver.manage().window().maximize();
browser.ignoreSynchronization = true;
browser.driver.get(url);
// Allow ripple to load
browser.driver.wait(function() {
return browser.driver.getCurrentUrl().then(function(actualUrl) {
return url == actualUrl;
});
}, 10000, 'url hasnt changed');
browser.driver.wait(function() {
return element(by.id('document')).isPresent();
}, 10000, 'ripple not loaded');
browser.driver.switchTo().frame(0);
}
};
Although this used to be working before, since I updated to ionic2-beta.3
it doesn’t work anymore 😞 (ripple doesn’t want to load anymore I don’t know why)
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Emulation Cloud for Open Application Development - Ciena
Ciena's Emulation Cloud™ is an open application development environment designed to help customers and third-party developers customize applications.
Read more >REDFINGER GLOBAL | Best Cloud Android Emulator, Cross ...
Redfinger Cloud Android Phone, the best cloud android emulator, brings full android app/cloud gaming experience across all platforms.
Read more >Cloud-Based Emulation - SemiWiki
The simplest way to manage this is to secure VPN back to the emulation supplier who can more effectively manage and maintain that...
Read more >Synopsys ZeBu Cloud Solution
ZeBu® Cloud is a hosted emulation solution that delivers flexible, turn-key, and secure emulation to accelerate software bring-up, performance validation, ...
Read more >Build Your Own Cloud Emulator | Android Open Source Project
This centralized configuration and setup make AAOS Emulator accessible to an entire company, supplier, and work-from-home developers.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lathonez I thought ripple was dead? Only emulates very few native plugins e.g. geo location.
Microsoft announced their own open source cordova simulator 6-9 months ago to replace it: https://github.com/Microsoft/cordova-simulate
FYI, I am using this piece of code for google login, which you can easily adapt for facebook: