w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
336 stars 35 forks source link

Rename `innerText` to `innertext` #685

Closed sadym-chromium closed 3 months ago

sadym-chromium commented 3 months ago

to align with other types, which are always in low case. Eg arraybuffer or typedarray.


Preview | Diff

whimboo commented 3 months ago

Just to note that for workers we use a -. So we aren't that consistent.

jgraham commented 3 months ago

See https://github.com/w3c/webdriver/issues/1725 for a general discussion of naming. It seems like we decided to prefer camelCase for new names. Type names that map to js types are a special case (where I think we unfortunately copied what CDP did).

sadym-chromium commented 3 months ago

See w3c/webdriver#1725 for a general discussion of naming. It seems like we decided to prefer camelCase for new names. Type names that map to js types are a special case (where I think we unfortunately copied what CDP did).

ack. Closing