Commit Graph

49 Commits

Author SHA1 Message Date
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
Derek Cicerone
c22650edab Fix types for promises in selenium-webdriver
The webdriver promises were recently made generic (that whole commit is actually pretty impressive!) but I think the definitions for the then methods are slightly incorrect. Looking at the original jsdoc (which I assume was imported from the original closure annotations) some edits appear to be necessary:
1. The return type of the success callback should match the returned promise's generic type.
2. The success callback can return a promise that will automatically be unwrapped.

I also made some other housekeeping edits:
* removed @param type information and @template since TypeScript puts type annotations directly in the code
* my editor removes trailing whitespace and adds a newline at the EOF

Once TypeScript 1.4 is out, these definitions can likely be simplified by using union types.
2014-12-20 13:07:29 -05:00
Bill Armstrong
51aa6373a8 Added the testing module back in. 2014-12-18 16:12:50 -05:00
Bill Armstrong
4c18f8fd52 Merged all of the selenium webdriver .ts files.
The CI build was failing because it tries to compile each file
individually. To fix this I merged all of the files into one. I also
deleted the legacy files since those versions are no longer supported.
2014-12-18 09:40:18 -05:00
Bill Armstrong
31cec16179 Removed a couple of function return types.
Removed a couple of function return types because they could return a
promise or a value.
2014-12-15 01:57:13 -05:00
Bill Armstrong
6edec4889a Added more tests. 2014-12-14 15:21:32 -05:00
Bill Armstrong
a8d7b34eda Added a couple of missing semicolons. 2014-12-14 10:18:50 -05:00
Bill Armstrong
4b3b00d6d2 Updated Angular-Protractor to v1.5.0. 2014-12-14 09:41:03 -05:00
Bill Armstrong
c09fc5270f Moved a number of modules into their own files. 2014-12-13 01:25:40 -05:00
Bill Armstrong
d09b8df795 Finished updating selenium-webdriver.d.ts. 2014-12-12 15:09:31 -05:00
BillArmstrong
15e832a6cc Started updating to version 2.44.
Updated the logging module, and the Promise and Deferred classes in the
Promise module.
2014-12-11 20:18:27 -05:00
unknown
a41df0ac55 selenium-webdriver: Added selenium testing & executors modules 2014-09-23 08:29:45 +02:00
vvakame
a0c7326729 fix selenium-webdriver/selenium-webdriver-tests.ts 2014-02-26 17:29:44 +09:00
BillArmstrong
41f71a2853 Added version numbers to the header comments. 2014-02-02 19:13:39 -05:00
BillArmstrong
5881a426aa Fixed the filename of the test files.
The test files did not have the correct filename and were not getting
recognized by the test runner.
2014-02-02 09:23:41 -05:00
BillArmstrong
1689573473 Add selenium-webdriver and angular-protractor.
Added the selenium-webdriver and angular-protractor libraries.
2014-02-02 01:29:02 -05:00