Appium 1.3.1: Unable to Switch to WebView in Hybrid App

I’m trying to test a hybrid app that is essentially one giant webview. For the iOS version of the app, I have not had any problems. I switch to the webview and everything works as expected. Android is a different matter. I can launch the app, get the context list, switch to the correct one with driver.context(webview_context_name) but as soon as I try to locate the first object on the page, I’m getting “org.openqa.selenium.UnsupportedCommandException: Invalid locator strategy: css selector”

I’m using Appium 1.3.1 via the Appium app on OS X Yosemite. My Android emulator is set to 4.4. Here’s the relevant lines from the Appium log. Any insight would be appreciated.

info: [debug] from: u0_a68,2151,924,305284,42372,ffffffff,b76b6fe6,S,com.bidpal
info: [debug] returning process name: com.bidpal
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.bidpal
info: [debug] [“WEBVIEW_com.bidpal”]
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.bidpal
info: [debug] Responding to client with success: {“status”:0,“value”:“Successfully launched the app.”,“sessionId”:“dc30281a6ac8f5abbb760d627f825634”}
info: <-- POST /wd/hub/session/dc30281a6ac8f5abbb760d627f825634/appium/app/launch 200 4438.962 ms - 100 {“status”:0,“value”:“Successfully launched the app.”,“sessionId”:“dc30281a6ac8f5abbb760d627f825634”}

info: --> POST /wd/hub/session/dc30281a6ac8f5abbb760d627f825634/context {“name”:“WEBVIEW_com.bidpal”}
info: [debug] Getting a list of available webviews
info: [debug] executing: “/Users/bjharo/AndroidSDK/platform-tools/adb” -s emulator-5554 shell “cat /proc/net/unix”

info: [debug] WEBVIEW_2151 mapped to pid 2151
info: [debug] Getting process name for webview
info: [debug] executing: “/Users/bjharo/AndroidSDK/platform-tools/adb” -s emulator-5554 shell “ps”

info: [debug] Parsed pid: 2151 pkg: com.bidpal

info: [debug] from: u0_a68,2151,924,305284,43456,ffffffff,b76b7426,S,com.bidpal
info: [debug] returning process name: com.bidpal
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.bidpal
info: [debug] [“WEBVIEW_com.bidpal”]
info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.bidpal
info: [debug] Responding to client with success: {“status”:0,“value”:null,“sessionId”:“dc30281a6ac8f5abbb760d627f825634”}
info: <-- POST /wd/hub/session/dc30281a6ac8f5abbb760d627f825634/context 200 136.980 ms - 72 {“status”:0,“value”:null,“sessionId”:“dc30281a6ac8f5abbb760d627f825634”}

info: --> POST /wd/hub/session/dc30281a6ac8f5abbb760d627f825634/element {“using”:“css selector”,“value”:“label[for = ‘searchTerm’].lblText”}

info: [debug] Invalid locator strategy: css selector
info: [debug] Responding to client with error: {“status”:9,“value”:{“message”:“Invalid locator strategy: css selector”,“origValue”:“Invalid locator strategy: css selector”},“sessionId”:“dc30281a6ac8f5abbb760d627f825634”}
info: <-- POST /wd/hub/session/dc30281a6ac8f5abbb760d627f825634/element 500 1.758 ms - 173

info: --> DELETE /wd/hub/session/dc30281a6ac8f5abbb760d627f825634 {}

this might be out of context but still,just wanted to know how do u switch between context.?

I tried certain code and getting ENNCONNECT:Refused error …
Need help