Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Make proxy convert /property to /attribute #311

Merged
merged 2 commits into from
Apr 8, 2019

Conversation

dpgraham
Copy link
Contributor

After digging into appium/appium#12218 I think the best solution is to proxy W3C /property/:prop commands through to JSONWP as /attribute/:attr.

So, for example, if a W3C session has this endpoint called

GET: /session/123/element/456/property/value

and it's being proxied to a JSONWP server, it should be proxied as

GET: /session/123/element/456/attribute/value

@mykola-mokhnach
Copy link
Contributor

the linter is not very happy tho

Copy link
Contributor

@imurchie imurchie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing. And the double quotes stuff.

.travis.yml Outdated
@@ -2,6 +2,7 @@ language: node_js
node_js:
- "8"
- "10"
- "11"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not really necessary. 11 is a stop-gap that will be EOL-ed in a couple of months.

In a couple of weeks, when 12 is released, we will update everything and drop support for 8.

@dpgraham dpgraham merged commit 6416438 into master Apr 8, 2019
@dpgraham dpgraham deleted the dpgraham-convert-property-to-attribute branch April 8, 2019 18:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants