This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
3 / 3
May 2018

Platform you are automating: Android
Appium version: 1.8.0
Simulator/Emulator or Real Device: Emulator platformName=Android, platformVersion=7.1.1
The language you are using for writing tests (client binding): English I guess
Your OS: macOS Sierra 10.12.6 (16G1314)

My problem
Since Appium 1.8.0. I’m getting:
InvalidSelectorException: Message: Locator Strategy ‘css selector’ is not supported for this session
Using this:
Element Should Be Visible id=${appPackageMyPackage}:id/rowTitle

This worked fine in Appium 1.6.1 or 1.7.2

  • created

    Apr '18
  • last reply

    May '18
  • 2

    replies

  • 2.2k

    views

  • 2

    users

Workaround:

  1. npm uninstall -g appium
  2. npm install -g appium@1.7.2 --no-shrinkwrap
26 days later
pip uninstall selenium
pip install selenium

It took me a whole day to solve it…