Commit Graph

93 Commits

Author SHA1 Message Date
Simon Gellis
fcce73b891 Updates v2 folder with latest changes from master 2017-03-07 22:24:10 -05:00
Simon Gellis
7742000fb0 Fixes header on v2 typedefs 2017-03-07 22:14:39 -05:00
Simon Gellis
96c2f0f7c3 Fixes linter/indentation errors 2017-03-07 22:14:39 -05:00
Simon Gellis
4f3da17fba Fixes miscellaneous errors 2017-03-07 22:09:42 -05:00
Simon Gellis
2039893cce Fixes doc comments and typing of Promise 2017-03-07 22:09:42 -05:00
Simon Gellis
c4f324a18e Removes cancel from promises 2017-03-07 22:09:42 -05:00
Simon Gellis
77307349a8 Removes CreateSessionCapabilities from some createSession signatures 2017-03-07 22:09:42 -05:00
Simon Gellis
710bd64dc1 Fixes names of http.Request and http.Response 2017-03-07 22:09:42 -05:00
Simon Gellis
a2f8e1b170 Fixes build for selenium-webdriver on typescript@2.0 2017-03-07 22:09:42 -05:00
Simon Gellis
ce712294ff Updates dependents to point to old version, fixes old tsconfig.json 2017-03-07 22:09:42 -05:00
Simon Gellis
e67fcdffe4 Removes deleted file from tsconfig 2017-03-07 22:09:42 -05:00
Simon Gellis
d3c78c666e Fixes findElement(s), Promise, and WebElementCondition types 2017-03-07 22:09:42 -05:00
Simon Gellis
7850a5ee24 Adds SOCKS proxy fields 2017-03-07 22:09:42 -05:00
Simon Gellis
35e54b9bdd Updates documentation and refines getCookie return type 2017-03-07 22:09:42 -05:00
Simon Gellis
0b7cb8549c Updates all the drivers and builders 2017-03-07 22:09:42 -05:00
Simon Gellis
9e86c1150e Moves until.Condition, adds WebElementCondition 2017-03-07 22:07:25 -05:00
Simon Gellis
e761557592 Removes deprecated methods and updates some signatures 2017-03-07 22:07:25 -05:00
Simon Gellis
dd7795e4dc Creates new folder for old selenium-webdriver v2 types 2017-03-07 22:07:25 -05:00
Philip Tom
c448633181 [selenium-webdriver] adding typings for remote file detector
Needed to mark indexd.d.ts with TypeScript Version 2.1 since the existing
test requires TS 2.1.

Also, needed to mark protractor-helpers with TS 2.1 since it's Jasmine
dependency requries TS 2.1.
2017-02-27 10:58:21 -06:00
Andy
555ea54770 Lint test files too (#14791) 2017-02-23 07:15:16 -08:00
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