Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Website is failing with new version #2163

Closed
juliemr opened this issue May 20, 2015 · 1 comment · Fixed by #2164
Closed

Website is failing with new version #2163

juliemr opened this issue May 20, 2015 · 1 comment · Fixed by #2164

Comments

@juliemr
Copy link
Member

juliemr commented May 20, 2015

Failing to parse JSON. This has something to do with the by.xpath description:

  {
    "description": "<code ng-non-bindable>\&quot;&#x2F;&#x2F;div\&quot;</code>",
    "other": "bar"
  }

is not valid JSON.

@juliemr
Copy link
Member Author

juliemr commented May 20, 2015

From https://github.com/SeleniumHQ/selenium/blob/master/javascript/webdriver/locators.js#L196

The line causing issues is the quotes inside @code:

{@code "//div"}

juliemr added a commit to juliemr/protractor that referenced this issue May 20, 2015
Do not try to replace special character quotes in JSON.

Closes angular#2163
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant