This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29202 - Click, Tap, Clear, and sendKeys are in consistent in the spec
Summary: Click, Tap, Clear, and sendKeys are in consistent in the spec
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2015-10-14 16:34 UTC by John Jansen
Modified: 2015-10-26 06:21 UTC (History)
2 users (show)

See Also:


Attachments

Description John Jansen 2015-10-14 16:34:43 UTC
In the table of available commands, it says the following:

"POST
  /session/{session id}/element/{element id}/click
  Element Click
  
  POST
  /session/{session id}/element/{element id}/tap
  Element Tap
  
  POST
  /session/{session id}/element/{element id}/clear
  Element Clear
  
  POST
  /session/{session id}/element/{element id}/sendKeys
  Element Send Keys"

Two issues:

1. Is this change because of getting rid of actions? I could not find a discussion about it. We implemented "sendKeys" as "value", not sure what/why a change was made here.

2. In the table they are POST in the prose they are GET. I think they are all supposed to be POST, but just making sure.
Comment 1 David Burns :automatedtester 2015-10-15 10:24:49 UTC
(In reply to John Jansen from comment #0)
> In the table of available commands, it says the following:
> 
> "POST
>   /session/{session id}/element/{element id}/click
>   Element Click
>   
>   POST
>   /session/{session id}/element/{element id}/tap
>   Element Tap
>   
>   POST
>   /session/{session id}/element/{element id}/clear
>   Element Clear
>   
>   POST
>   /session/{session id}/element/{element id}/sendKeys
>   Element Send Keys"
> 
> Two issues:
> 
> 1. Is this change because of getting rid of actions? I could not find a
> discussion about it. We implemented "sendKeys" as "value", not sure what/why
> a change was made here.

We are not getting rid of actions. When you say you implemented sendKeys as value do you mean 

POST /session/{session id}/element/{element id}/value 

> 
> 2. In the table they are POST in the prose they are GET. I think they are
> all supposed to be POST, but just making sure.

I have fixed 2 in 1f38647