Commit Graph

65 Commits

Author SHA1 Message Date
Georgii Dolzhykov
44f2662e49 Remove the typings for Protractor as it provides its own typings (#12482) 2016-11-07 10:43:45 -08: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
Kuniwak
33ae3d2f7b Update WebDriver#isElementPresent, #findElement and #findElements
Related: https://github.com/SeleniumHQ/selenium.git dc974c4a760176d015a96196072b6fb728100903
TODO: Add webdriver.By.Hash
2015-07-09 19:08:44 +09:00
Kuniwak
3ea7cf7889 Add missing selmicolons 2015-07-08 19:22:36 +09:00
Kuniwak
666442816f Add ServiceBuilder#setAdbPort 2015-07-08 18:15:18 +09:00
Kuniwak
11daee6f62 Sort asserting order to following the definition 2015-07-08 18:14:21 +09:00
Kuniwak
a766e1aef7 add Options#android* 2015-07-08 18:06:56 +09:00
Kuniwak
6c8a0d02aa Add Options#setPerfLoggingPrefs 2015-07-08 17:53:08 +09:00
Kuniwak
30c4a6ea12 Support Options#excludeSwitches 2015-07-08 17:39:45 +09:00
Derek Cicerone
bb811116eb Fix unit tests 2014-12-20 13:38:32 -05:00