Bot Browser files moved to /bot/browser/
because android files will be a different and will need to add more files for Android. There was a CL to move the browser files form bot/browser/ to /bot/ as i thought it will be the same files used for Android. R=andresp@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23529004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7119 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
3d81b1b22a
commit
04b853b56a
@ -7,5 +7,5 @@
|
||||
// in the file PATENTS. All contributing project authors may
|
||||
// be found in the AUTHORS file in the root of the source tree.
|
||||
-->
|
||||
<script src="api.js"></script>
|
||||
<script src="../api.js"></script>
|
||||
<script src="bot.js"></script>
|
@ -116,7 +116,7 @@ Bot.prototype = {
|
||||
}
|
||||
}
|
||||
|
||||
// BrowserBot spawns a process to open "http://localhost:8080/bot/".
|
||||
// BrowserBot spawns a process to open "http://localhost:8080/bot/browser".
|
||||
//
|
||||
// That page once loaded, connects to the websocket server run by BotManager
|
||||
// and exposes the bot api.
|
||||
@ -128,7 +128,7 @@ BrowserBot = function (name, callback) {
|
||||
BrowserBot.prototype = {
|
||||
spawnBotProcess_: function () {
|
||||
this.log('Spawning browser');
|
||||
child.exec('google-chrome "http://localhost:8080/bot/"');
|
||||
child.exec('google-chrome "http://localhost:8080/bot/browser/"');
|
||||
},
|
||||
|
||||
__proto__: Bot.prototype
|
||||
@ -149,7 +149,7 @@ AndroidChromeBot.prototype = {
|
||||
this.log('Spawning Android device with serial ' + this.serialNumber_);
|
||||
var runChrome = 'adb -s ' + this.serialNumber_ + ' shell am start ' +
|
||||
'-n com.android.chrome/com.google.android.apps.chrome.Main ' +
|
||||
'-d http://localhost:8080/bot/';
|
||||
'-d http://localhost:8080/bot/browser/';
|
||||
child.exec(runChrome, function (error, stdout, stderr) {
|
||||
if (error) {
|
||||
this.log(error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user