the result like this. i want to switch to the page 'pay_menu.php' then do some operations.
{
"0": {
"objectName": "WebPage",
"title": "Member Center",
"frameTitle": "Member Center",
"content": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"><html></html>",
"loading": false,
"loadingProgress": 100,
"canGoBack": false,
"canGoForward": false,
"plainText": " ",
"libraryPath": "D:/Program Files (x86)/casperjs-1.1.3/bin",
"offlineStoragePath": "C:/Users/saltywu/AppData/Local/Ofi Labs/PhantomJS",
"offlineStorageQuota": 5242880,
"viewportSize": {
"height": 300,
"width": 400
},
"paperSize": {},
"clipRect": {
"height": 0,
"left": 0,
"top": 0,
"width": 0
},
"scrollPosition": {
"left": 0,
"top": 0
},
"navigationLocked": false,
"customHeaders": {},
"zoomFactor": 1,
"cookies": [
{
"httponly": false,
"name": "Example_Session",
"path": "/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
},
{
"httponly": false,
"name": "route",
"path": "/",
"secure": false,
"value": "1726d7172592305df7cc673c3de0c94d"
},
{
"httponly": false,
"name": "random",
"path": "/",
"secure": false,
"value": "562379"
},
{
"httponly": false,
"name": "token",
"path": "/",
"secure": false,
"value": "fe9be91bb8db260d98f8e47a930d8fc9"
},
{
"httponly": false,
"name": "page_site",
"path": "/cl/",
"secure": false,
"value": "bankSavings"
}
],
"windowName": "MACENTER",
"pages": [
{
"objectName": "WebPage",
"title": "",
"frameTitle": "",
"content": "<html> </html>",
"loading": false,
"loadingProgress": 100,
"canGoBack": false,
"canGoForward": false,
"plainText": " ",
"framePlainText": " ",
"libraryPath": "D:/Program Files (x86)/casperjs-1.1.3/bin",
"offlineStoragePath": "C:/Users/xxx/AppData/Local/Ofi Labs/PhantomJS",
"offlineStorageQuota": 5242880,
"viewportSize": {
"height": 300,
"width": 400
},
"paperSize": {},
"clipRect": {
"height": 0,
"left": 0,
"top": 0,
"width": 0
},
"scrollPosition": {
"left": 0,
"top": 0
},
"navigationLocked": false,
"customHeaders": {},
"zoomFactor": 1,
"cookies": [
{
"httponly": false,
"name": "Example_Session",
"path": "/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
},
{
"httponly": false,
"name": "route",
"path": "/",
"secure": false,
"value": "1726d7172592305df7cc673c3de0c94d"
},
{
"httponly": false,
"name": "random",
"path": "/",
"secure": false,
"value": "562379"
},
{
"httponly": false,
"name": "token",
"path": "/",
"secure": false,
"value": "fe9be91bb8db260d98f8e47a930d8fc9"
},
{
"httponly": false,
"name": "game_cookie",
"path": "/app/member/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
}
],
"windowName": "SecureOnline",
"pages": [],
"pagesWindowName": [],
"ownsPages": true,
"framesName": [],
"frameName": "SecureOnline",
"framesCount": 0,
"focusedFrameName": "SecureOnline",
"cookieJar": {
"objectName": "",
"cookies": [
{
"httponly": false,
"name": "Example_Session",
"path": "/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
},
{
"httponly": false,
"name": "page_site",
"path": "/cl/",
"secure": false,
"value": "bankSavings"
},
{
"httponly": false,
"name": "game_cookie",
"path": "/app/member/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
},
{
"httponly": false,
"name": "route",
"path": "/",
"secure": false,
"value": "1726d7172592305df7cc673c3de0c94d"
},
{
"httponly": false,
"name": "random",
"path": "/",
"secure": false,
"value": "562379"
},
{
"httponly": false,
"name": "token",
"path": "/",
"secure": false,
"value": "fe9be91bb8db260d98f8e47a930d8fc9"
}
]
}
}
],
"pagesWindowName": [
"SecureOnline"
],
"ownsPages": true,
"framesName": [],
"frameName": "MACENTER",
"framesCount": 0,
"focusedFrameName": "MACENTER",
"cookieJar": {
"objectName": "",
"cookies": [
{
"httponly": false,
"name": "Example_Session",
"path": "/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
},
{
"httponly": false,
"name": "page_site",
"path": "/cl/",
"secure": false,
"value": "bankSavings"
},
{
"httponly": false,
"name": "game_cookie",
"path": "/app/member/",
"secure": false,
"value": "40bg4s66h0nt36cj4svfvh4436"
},
{
"httponly": false,
"name": "route",
"path": "/",
"secure": false,
"value": "1726d7172592305df7cc673c3de0c94d"
},
{
"httponly": false,
"name": "random",
"path": "/",
"secure": false,
"value": "562379"
},
{
"httponly": false,
"name": "token",
"path": "/",
"secure": false,
"value": "fe9be91bb8db260d98f8e47a930d8fc9"
}
]
}
},
"length": 1
}