Commit Graph
1468 Commits
Author SHA1 Message Date
Jonathan Lipps d0794edb35 fix: proxy detection needs to use session-relative plugins 2021-03-04 13:37:36 -08:00
Jonathan Lipps c10c243760 feat: add ability for drivers to update server and add method maps like plugins
also ensure that each session gets its own plugin instances so plugins for different sessions can't share state
2021-02-23 14:41:09 -08:00
Jonathan Lipps a9084d150d fix: when sending driver to plugins, send umbrella driver for umbrella commands 2021-02-03 12:28:31 -08:00
Jonathan Lipps be4b46d84e feat: allow plugins to avoid proxying certain routes 2021-02-03 10:37:08 -08:00
Jonathan Lipps 4213c5fbec fix!: move to different style of plugin command execution 2021-01-22 09:19:50 -08:00
Jonathan Lipps 01c76d3913 feat: print comparison of driver and appium basedriver versions 2021-01-19 16:30:43 -08:00
Kazuaki Matsuo 25d97de8f2 fix: update tests and parsing logic to handle new basedriver w3c reqs 2021-01-19 16:30:43 -08:00
Jonathan Lipps 8a50339242 feat: add postinstall functionality for auto installing drivers and plugins 2021-01-19 16:30:43 -08:00
Jonathan Lipps 0e11ce28e8 feat: add auto-install params --drivers and --plugins 2021-01-19 16:30:43 -08:00
Jonathan Lipps c3d1308bd9 feat: make the images plugin an official appium plugin 2021-01-19 16:30:43 -08:00
Jonathan Lipps 2947ae6492 fix: plugins should get inner driver, not umbrella driver 2021-01-14 13:36:46 -08:00
Jonathan Lipps f4133d3c17 fix: ensure extension installs happen in the right place
and not up the filesystem from the appium home dir
just because someone happens to have a package.json
or a node_modules dir up there somewhere
2021-01-14 13:36:46 -08:00
Kazuaki Matsuo 8e128e92e9 fix: do not insert server for --help, -v and --version (#15005) 2021-01-09 04:35:35 +09:00
Jonathan Lipps 601a6f785b feat: add --keep-alive-timeout CLI arg to adjust server keepalive and connection timeout 2020-12-15 11:01:08 -08:00
Jonathan Lipps e76f1d5914 Merge pull request #14926 from jlipps/2.0
fix: npm 7+ removes info from json response, so don't rely on it anymore
2020-12-04 15:09:47 -08:00
f877df6fb5 chore: merge master into 2.0 and added mac2 in lib/drivers.js (#14928)
* fix: fix urls in docs (#14910)

* docs: Update generated docs [ci skip] (#14913)

Co-authored-by: runner <runner@Mac-1606273407156.local>

* feat: Add Mac2Driver (#14911)

* docs: Add Mac2Driver documentation (#14914)

* chore: add scripts for doing releases (#14918)

* docs: Update push-file.yml (#14920)

* add appium-mac2-driver

Co-authored-by: Appium Triager <maintainers@appium.io>
Co-authored-by: runner <runner@Mac-1606273407156.local>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com>
Co-authored-by: Dan Graham <dpgraham.85@gmail.com>
Co-authored-by: Ilija Boshkov <ilija.boshkov@gmail.com>
2020-12-04 08:44:34 +09:00
Jonathan Lipps 9cb189f999 fix: npm 7+ removes info from json response, so don't rely on it anymore 2020-12-02 12:20:24 -08:00
Jonathan Lipps 498fe63845 fix: prevent potential problems with an unbound parser.parse_args 2020-11-20 09:18:52 -08:00
Jonathan Lipps 7bd8f15c39 Merge branch 'master' into 2.0, most importantly by applying argparse 2.x updates 2020-11-17 16:16:51 -08:00
Mykola Mokhnach 8ed7bae02f fix: Properly format log timestamps (#14889) 2020-11-17 12:14:08 +01:00
Jonathan Lipps 7ef9e40b3f fix: don't forget to actually put the directory for appium home 2020-11-13 09:38:58 -08:00
Mykola Mokhnach 2fab8a4874 feat: Add Gecko driver (#14871) 2020-11-07 07:49:07 +01:00
Mykola Mokhnach 7d6c5167f3 feat: Add Safari driver to the list of available automation names (#14866) 2020-11-06 08:27:15 +01:00
Jonathan Lipps af2ced2e83 fix: use correct npm bin in subprocs 2020-11-02 10:33:03 -08:00
Jonathan Lipps db2277a8f2 fix: use cross-platform way of referring to user home directory 2020-10-30 21:55:24 -07:00
Jonathan Lipps 1f50580fdc chore: use appium2 version of base driver (#14772) 2020-10-02 09:45:06 -07:00
dependabot-preview[bot]andMykola Mokhnach 163b34dc2f chore(deps): bump argparse from 1.0.10 to 2.0.1 (#14687)
Bumps [argparse](https://github.com/nodeca/argparse) from 1.0.10 to 2.0.1.
- [Release notes](https://github.com/nodeca/argparse/releases)
- [Changelog](https://github.com/nodeca/argparse/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/argparse/compare/1.0.10...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com>
2020-09-02 22:01:20 +02:00
Jonathan Lipps 38ea7752ce chore: merge main branch 2020-08-31 13:35:46 -07:00
Jonathan Lipps 70c886fe8c test: since we update FakeDriver prototype, update the one required by extension config 2020-08-31 13:30:49 -07:00
Jonathan Lipps 8bb644d874 feat: allow use of --plugins=all to activate all plugins, and show helpful startup text 2020-08-31 13:30:49 -07:00
Jonathan Lipps ce165a1b92 feat: restrict plugin activation to plugins enabled using --plugins=p1,p2 flag 2020-08-31 13:30:49 -07:00
Jonathan Lipps 1ed60c7cdf refactor: break up executeCommand so it is shorter and easier to read 2020-08-31 13:30:49 -07:00
Jonathan Lipps 3dd63175c5 feat: allow installed plugins to modify server, method map, and act as command handlers 2020-08-31 13:30:49 -07:00
Jonathan Lipps f39975e6b0 feat: add --package cli arg to plugin/driver install, since in the case of git/github we don't actually know where npm will install it unless we know the package name 2020-08-31 13:30:49 -07:00
Jonathan Lipps 2f56309f77 feat: add plugin CLI subcommands 2020-08-31 13:30:49 -07:00
Jonathan Lipps 6eafdf63a6 refactor: generalize DriverConfig into ExtensionConfig and make DriverConfig a special case of it 2020-08-31 13:30:49 -07:00
Jonathan Lipps 9a44b9baf5 refactor: add plugin subcommand to parser by making driver subcommand generic 2020-08-31 13:30:49 -07:00
Sri Harsha a370d60ec7 docs: fixing Typos (#14635) 2020-08-10 08:30:52 +09:00
Mykola Mokhnach 93004b75c4 fix: Only strip known prefixes from capability names (#14492) 2020-06-30 07:57:25 +02:00
Jonathan Lipps da521fbf76 feat: add driver update cli command 2020-06-29 09:29:18 -07:00
Jonathan Lipps e1e23a77a6 refactor: move all cli related functionality into a cli dir 2020-06-11 12:52:24 -07:00
Jonathan Lipps bb3d668ec4 fix: just write config instead of testing for config dir access 2020-06-10 07:16:38 -07:00
Jonathan Lipps 7f6cd84723 test: add e2e tests for driver cli 2020-06-10 07:16:38 -07:00
Jonathan Lipps ae19b5133e refactor: separate parser logic and cli args more clearly 2020-06-10 07:16:38 -07:00
Jonathan Lipps a550aed9e2 fix: make git install type remove .git extension from package dir 2020-06-10 07:16:38 -07:00
Jonathan Lipps 9d9823258c refactor: address various code issues and move to ora for cli spinner 2020-06-10 07:16:38 -07:00
Jonathan Lipps 15e1d1926d refactor: move server args into own file 2020-06-10 07:16:38 -07:00
Jonathan Lipps 0410572573 refactor: move various driver cli bits into classes 2020-06-10 07:16:38 -07:00
Jonathan Lipps a8f4e0a897 fix: install each driver into its own subdirectory
to ensure that npm install doesn't do weird things with different subdependencies of each
2020-06-10 07:16:38 -07:00
Jonathan Lipps a4917dd66b fix: add file-based lock mechanism to npm installs and links 2020-06-10 07:16:38 -07:00