Skip to content

InvalidSelectorError: Locator Strategy 'css selector' is not supported for this session  #1047

@Madhavip3

Description

@Madhavip3

Description

Updated Appium to the latest version and started seeing this issue. Tried using AppiumDriver and iOS Driver and still see the issue. Running Appium on native apps on both iOS and UWP. Currently we get this issue on iOS. Worked perfectly fine until the previous release.

Environment

Java Client version: 6.1.0
Appium Server :Version 1.7.1 (1.7.1.20180926.9)
OS Version:10.13.6 (17G2112)
Mobile Platform version: IOS 11.4(iPads)
Device:Simulator

##Code used
currentSession.findElement(By.id(id)).click() --> this is how we are accessing the elements in the app. Also Tried findElementById() with IOSDriver and still see the same issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions