dimanche 26 juillet 2015

Can't run any queries: `Invalid locator strategy: css selector`

I have a working setup on another Linux machine, I'm trying to port it to OSX:

  • Latest Appium version installed through npm
  • Python packages: Appium-Python-Client [0.17], selenium [2.46.1]

Whenever I try making a query such as driver.find_element_by_id Appium returns Invalid locator strategy: css selector.

Apparently the python client makes a request to Appium that looks like this:

{
  "using": "css selector",
  "sessionId":"337dfda6-66db-4c45-9660-07e02b3cdb36",
  "value":"[id=\"email\"]"
}

The exact same code works fine on Linux. Can anybody give some advice regarding this?

Thank you in advance.

Aucun commentaire:

Enregistrer un commentaire