Commit Graph

73 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
76a710cc94 Rename test files to be consistent (#13882) 2017-01-10 06:33:06 -08:00
Craig
93357460d2 chore(selenium-webdriver): split apart test files (#13573)
- splitting apart test files
- fix single and double quotes for consistency - replace " for '
- updated ActionSequence sendKeys (https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/actions.js#L368)
- updated WebElement sendKeys (https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/webdriver.js#L2056)
2017-01-05 11:56:02 -08:00
Paul Gschwendtner
123690bb2e types(selenium-webdriver): re-add chord method for selenium inputs (#13513)
* Re-Adds a previously removed definition for the `chord` method in the `selenium-webdriver`.
  
Reference to the source: https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/input.js#L111-L125
Reference to the SHA that removed the `definition`: 4cf3256fe8
2016-12-22 16:40:36 -05:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Mohamed Hegazy
5ad6479868 Make selenium-webdriver declaration a module (#13382) 2016-12-19 13:47:23 -08:00
Paul van Brenk
262e90cae4 Merge pull request #12457 from cnishina/selenium-webdriver
chore(selenium-webdriver): update webdriver wait method
2016-11-30 15:54:28 -08:00
Georgii Dolzhykov
44f2662e49 Remove the typings for Protractor as it provides its own typings (#12482) 2016-11-07 10:43:45 -08:00
Craig Nishina
289f7edc79 chore(selenium-webdriver): update webdriver wait method
- set condition parameter to accept a Function type
2016-11-02 14:07:08 -07:00
krauseStefan
832d3c938a types(selenium): fix typings error Level class in logging namespace
The 'name' and 'value' properties should not be defined as function, they
are inplemented using es6 get functions

get value() {
  return this.value_;
}

see ba56ad1ae0/javascript/node/selenium-webdriver/lib/logging.js (L95)
2016-11-02 18:22:44 +01:00
Filipe Silva
086bf3e581 selenium-webdriver: allow <T>=><R> in map (#11770)
* selenium-webdriver: allow <T>=><R> in map

Followup from https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11726#issuecomment-251919529

The fix in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11726 seems to have uncovered a bug in the `map` typings, where the return type is expected to be the same as the argument type. 

This is incorrect as you can map from one type to another.

* Change un-inferred type to any
2016-10-06 14:32:08 -07:00
Marco Bachmann
4b4beff441 change 'then' signature of promise that TS async/await is working (#11726)
change 'then' signature of promise that TS async/await is working
2016-10-05 17:14:25 -07:00
Craig
d3b7ecb1fb chore(selenium-webdriver): export namespaces and enums (#11657)
- enums that return strings were changed to be interfaces
- namespaces were completed to match 2.53 exports
- update methods and tests

closes #11629
2016-10-03 14:39:05 -07:00
Craig Nishina
4cf3256fe8 types(selenium): update selenium-webdriver to 2.53.1
- update from selenium-webdriver 2.44 to 2.53.1
- remove dependencies for selenium-webdriver 2.44:
  - protractor
  - protractor-helpers
  - protractor-http-mock
2016-09-19 17:02:27 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062 Remove unneeded references 2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Masahiro Wakame
a83677ed13 Merge pull request #4879 from Kuniwak/update-webdriver
selenium-webdriver: Update webdriver.WebDriver
2015-08-26 01:53:36 +09:00
Kuniwak
7ff45ed3e3 Add my name 2015-08-22 00:27:35 +09:00
Kuniwak
7997188acd Remove references for IWebElement 2015-07-10 18:40:06 +09:00
Kuniwak
2381796282 Update webdriver.WebElement 2015-07-10 18:11:20 +09:00
Kuniwak
37a07946a5 Add webdriver.Serializable
Link: 36ae4e0249 (diff-9fd8281e531ca110881ce204a571c9e5)
2015-07-10 17:33:47 +09:00
Kuniwak
d019180cb8 Follow signatures to the recent doc 2015-07-10 15:17:54 +09:00
Kuniwak
2fbe16791b Switch to use "webdriver.By.Hash" instead of "any" 2015-07-10 15:02:51 +09:00
Kuniwak
04fd7c612d Remove ILocatorStrategy 2015-07-10 14:59:55 +09:00
Kuniwak
4aaf75d9f2 Add webdriver.By.Hash as a type alias
Limitation: We can not assign webdriver.By to any variables
2015-07-10 12:20:56 +09:00
Kuniwak
47f874f4ff Update webdriver.promise.Promise
Link: 762a18540c
2015-07-09 23:55:51 +09:00
Kuniwak
e9ca2ce12a Update webdriver.promise.ControlFlow#execute
Link: 7268c783d3
2015-07-09 23:23:05 +09:00
Kuniwak
65ced8681c Update webdriver.promise.ControlFlow#wait
Link: f473be4a45 (diff-b1976f46bdbb6d0d51ba6baa46156d61)
2015-07-09 23:21:13 +09:00
Kuniwak
69164fec6e Remove timers
Link: 43c1701222 (diff-b1976f46bdbb6d0d51ba6baa46156d61)
2015-07-09 23:19:36 +09:00
Kuniwak
22c0bb370f Remove deprecated methods
Link: e7b442e013 (diff-b1976f46bdbb6d0d51ba6baa46156d61)
2015-07-09 23:14:12 +09:00
Kuniwak
453d394a7b Update webdriver.WebDriver annotations 2015-07-09 21:25:11 +09:00
Kuniwak
d278c4283d Add webdriver.WabDriver#setFileDetector 2015-07-09 21:24:30 +09:00
Kuniwak
f2efb822f5 Add webdriver.FileDetector 2015-07-09 21:18:05 +09:00
Kuniwak
1bbf7338c1 Add webdriver.WebDriver#touchActions 2015-07-09 21:17:14 +09:00
Kuniwak
7c881f2e1a Add webdriver.TestTouchSequence 2015-07-09 21:00:26 +09:00
Kuniwak
08b91e601c Comment out definitnions and tests for webdriver.By.Hash 2015-07-09 20:57:53 +09:00
Kuniwak
03d49ee1b9 WIP: Add webdriver.By.Hash
`webdriver.By.Hash` is a Closure Llibrary style type alias.
If we assign `webdriver.By.Hash`, we get an `undefined`.
I think the assignment should have an error, because it have no
meanings.
2015-07-09 20:42:17 +09:00
Kuniwak
ecd7cc44b7 Update webdriver.Locator 2015-07-09 20:00:28 +09:00
Kuniwak
fa27980695 Add docs to webdriver.By.* (without Hash) 2015-07-09 19:15:16 +09:00