Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 72d69597a2 Bug 1369827 - Update geckodriver docs for proxy port changes. r=ato
MozReview-Commit-ID: 4yBC9AAHU5X

--HG--
extra : rebase_source : b13451573091fb731ee31b928a3d79a5b7361d0f
2017-08-18 14:55:07 +02:00
Henrik Skupin c7e59bd618 Bug 1388249 - Add crashreporter environment variables to geckodriver. r=jgraham
In geckodriver we need a better control about the behavior of the
crash reporter. It should be enabled by default if possible, but
never show its window when a crash actually happens. Both settings
will allow us later to analyze the generated minidump files.

Further the crash reporter will shutdown Firefox now in case of
content crashes. This prevents a possible hang of Marionette
when a command in content gets executed and the framescript
gets disconnected.

MozReview-Commit-ID: DV1E7yQlElM

--HG--
extra : rebase_source : 6273a2f45fbe5f1b21c099ed8efcea44d72ec8e3
2017-08-23 13:33:12 +02:00
Henrik Skupin f7fd4a1cd9 Bug 1387403 - Force quitting the browser if no session can be established. r=jgraham
In case the NewSession command fails due to errors returned
by Marionette, the browser has to be killed. This is necessary
because DeleteSession always requires an existent session, and
would fail in closing the browser. So the process would continue
to be alive.

MozReview-Commit-ID: 1llX4lPNYjN

--HG--
extra : rebase_source : 0da6529e2c09358c83760fc66c997db09665e304
2017-08-17 14:05:11 +02:00
Henrik Skupin e33bba5063 Bug 1390486 - Add "dom.file.createInChild" preference to recommended prefs. r=ato
To allow geckodriver to create file objects in child processes, this
preference has to be set to true. As such it needs to be recommended
in Marionette and set as default preference for geckodriver.

MozReview-Commit-ID: 8bdbi5jH6Vc

--HG--
extra : rebase_source : cc8963d2b15357b6d1607854e978aa764fcbd42f
2017-08-15 17:47:15 +02:00
Andreas Tolfsen a68cdde16c Bug 1388365 - Upgrade to webdriver 0.29.0. r=whimboo
Upgrades the webdriver crate dependency to 0.29.0, which contains some
backwards incompatible changes for RectResponse.  This type has been
split in two, WindowRectResponse and ElementRectResponse.

The former type contains a new "state" field which is already implemented
by Marionette.  Because geckodriver is used with a range of earlier
Firefoxen, it defaults to "normal" window state if the field is not
returned from Marionette.  This is acceptable.

MozReview-Commit-ID: FRxppRVmiZl

--HG--
extra : rebase_source : 4a86659f337598bb4f5623c51f5df288c8a5dd69
2017-08-08 15:09:45 +01:00
Jason Juang b056ca7a99 Bug 1383931 - Accept base64-encoded addons in the addon install command. r=ato
This allows tests that use Geckodriver remotely to more easily install
addons. The base64 blob is written to a temporary file before being
passed on to Marionette.

MozReview-Commit-ID: DnaBqoXCj5

--HG--
extra : rebase_source : 0c3f37b65fcb47c5a1389348e34f19b98c8183d5
2017-07-24 15:43:05 -07:00
Andreas Tolfsen 6ce3ddca8d Bug 1379482 - Update geckodriver changelog for 0.18.0; r=jgraham
MozReview-Commit-ID: GRIJM8fEwts

--HG--
extra : rebase_source : 67f76fc3a5515c4c517904f75409eda46d050480
2017-07-10 14:37:20 +01:00
Andreas Tolfsen f931aa2ee1 Bug 1374977 - Log geckodriver version on startup; r=jgraham
MozReview-Commit-ID: 3DyRPpAXUPo

--HG--
extra : rebase_source : 7955c46e78be50b4e0c23565716f59b8f35df05e
2017-06-23 17:00:48 +01:00
Henrik Skupin 34e680df7b Bug 1369709 - Release geckodriver 0.17.0. r=ato
MozReview-Commit-ID: 9I4FM2TCBez

--HG--
extra : rebase_source : da4fb291067a585ae3e9d8f70be1b0ebd770908e
2017-06-07 20:45:18 +02:00
Andreas Tolfsen 93213e7e41 geckodriver: changes: fix markdown
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: adb0413270fb7bf9ab76a56d5aae4c9140edf085

--HG--
extra : rebase_source : 951e52f36ce84dcbaf88ad3963a1a5891654114c
2017-04-26 14:07:38 +01:00
Andreas Tolfsen 8eac5bd09a geckodriver: changes: update for 0.16.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 03486bc538f3ea9207b719f8598addb916879cc2

--HG--
extra : rebase_source : c4ce1ceffb2b04d5354726f2ddf43c3a58944409
2017-04-26 13:59:45 +01:00
Andreas Tolfsen a141035fae geckodriver: marionette: unmarshal CloseWindowResponse
geckodriver currently assumes the response from the CloseWindow command
is empty and unmarshals it to Ok(Void).

Starting with Firefox 52, Marionette returns a window handle array to
indicate whether the last window was closed.  If this array is empty,
the delete_session field is set to true and the session is ended.

Fixes: https://github.com/mozilla/geckodriver/issues/613
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: b579b41838918460a63b59a4bb7933ecf485b7f5

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 1adac09285338702ae82c6108d7fc233d45c9cf1
2017-04-26 13:46:00 +01:00
Andreas Tolfsen 5dc25c25ba geckodriver: cargo, changes, readme: release v0.16.0 (#664)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 03f50a7fb12be47e61234020d902891c5eec840e

committer: GitHub <noreply@github.com>

--HG--
extra : rebase_source : aafcf7e4cded0edc9554d4334753f7e9ad9a9c6e
2017-04-21 16:07:01 +01:00
Andreas Tolfsen 995ac4e4b8 geckodriver: changes: update with latest changes
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f46d65ccdc7b22d773977fb3b3fb6a57108ddfd2

--HG--
extra : rebase_source : ee8427469399da637db83f78186d372df55754b5
2017-04-20 14:06:33 +01:00
Andreas Tolfsen 67ad934cd8 geckodriver: changes: update
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 554430eb9b1c97014e64f3c633083342c63ab10a

--HG--
extra : rebase_source : 5cbe2cf2d71594db394d0e7f9bb2c07a42041dad
2017-04-18 19:39:15 +01:00
Andreas Tolfsen 9341a6db85 geckodriver: cargo, changes: bump webdriver to v0.25.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c219de22c63c2a3cb325b70de76a90407493724b

--HG--
extra : rebase_source : f42f4b4530412a12f3bbd2c43e31e368fd61f82e
2017-04-18 19:33:52 +01:00
Andreas Tolfsen 04568f3323 geckodriver: changes: v0.16.0 has not been released
Prevent confusion amongst users as towards whether v0.16.0 is out.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: dccea97b6cc709b4bd93146ea12c7d9b0b356688

--HG--
extra : rebase_source : 19985f1ae4f75089c1ee26e5d896292d82a82b0c
2017-04-18 12:55:54 +01:00
Andreas Tolfsen d23ec3ebd0 geckodriver: changes: update for 0.16.0 release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 441c0987894ff9b613713a092c67b958a8434f15

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : bd2e378de4468c17bd9189a9c6131b2987be2754
2017-04-10 14:31:00 +01:00
Andreas Tolfsen f22a0e8df0 geckodriver: changes: update version number
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: e153cebbcdbb57d1b982f802020e9374ec413d1a

--HG--
extra : rebase_source : 60c4a3f18ef656378dd6284071ca702d2c6aec79
2017-03-09 21:18:56 +00:00
Andreas Tolfsen 3c85ce025e geckodriver: changes: update for changes in webdriver 0.23.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1487a16227d7b45cec3fc18111673d824a47970c

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 21b2dda3d9c71fc91d0b08524298af2a8977e271
2017-03-03 16:38:14 +00:00
Andreas Tolfsen 55c366fde3 geckodriver: marionette: add Get Timeouts command
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 140ab5a897d16d01418fc8aff94ae580eef49f2d

--HG--
extra : rebase_source : ca327ed76cfc819270598648c0b85e949c3bbd57
2017-02-24 17:44:11 +00:00
Andreas Tolfsen 498fbf1a31 geckodriver: Merge branch 'newtabpage'
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: a927a87c3328ad0eabbe98c9ed132769dfce737e

--HG--
extra : rebase_source : 7e0e60af11f7c6692ba185d81aa7b5e58704a9e7
2017-02-01 14:52:15 +00:00
Andreas Tolfsen 2a7bb71da2 geckodriver: changes: update
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 8077ee81cec9b39e2e6a47eaee2f82f6e0991ad7

--HG--
extra : rebase_source : 8e94198a707b08af624ceb0355c441738fbdcd4a
2017-01-31 17:06:48 +00:00
Andreas Tolfsen 6c6ea00aa8 geckodriver: changes: add all changes for version 0.13.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 168619ade8ad9326f4e2c5f2fd752c56ccb59de0

--HG--
extra : rebase_source : bb8cb891b0e47d14de906bd87cad9ceb54c349cc
2017-01-06 17:37:06 +00:00
Andreas Tolfsen 93edbd0e94 geckodriver: changes: clarified and linkified notes for 0.12.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 69a6c32c67c8627875b279372baa40c589cb41fe

--HG--
extra : rebase_source : 0d3c5e09ebc4bef2367d08167609833a4c9fddb4
2017-01-03 19:28:36 +00:00
Andreas Tolfsen 45d580fc32 geckodriver: changes: remove empty header under 0.5.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 9995b64397c24df09cb43f238a55db556ffd9718

--HG--
extra : rebase_source : e83538665790cd4f487ca0aa03970f3ec93acfed
2017-01-03 19:22:53 +00:00
Andreas Tolfsen 31563775ca geckodriver: changes: add missing header under 0.6.1
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: ec9dbfaf0a0d8181a973af228d3ae159a03d99cd

--HG--
extra : rebase_source : e676d5a31b6f5093b43d2dae8244fd839686ccd3
2017-01-03 19:22:53 +00:00
Andreas Tolfsen 5bdc62ca1c geckodriver: changes: update for 0.12.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2c109771332d2d563088af7f6a7341b957650aea

--HG--
extra : rebase_source : 37621ecfdd1f16ebc0e78c24b9050fe3845367c9
2017-01-03 19:22:53 +00:00
Andreas Tolfsen 4f008f20cf geckodriver: readme: describe supported webdriver capabilities
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 5ac602ee37ca13f163ddc408715b2a7563a3b826

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : 7ed7e430ec29da023b4a366a9b9a43100c162eb9
2016-12-19 15:00:26 +00:00
Andreas Tolfsen ee95efb19c geckodriver: changes: mention version bump
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: db09b28752f798ae526eecde9b0740dd359f49b2

--HG--
extra : rebase_source : 3dc36254cb3b613151b55751b5858bbdb213efe5
2016-10-10 12:43:21 +01:00
Andreas Tolfsen fea59451a2 geckodriver: changes: mark unreleased changes as 0.11.0
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: c7e955af1ef01f001d9aa401e2f502dae72ee9e8

--HG--
extra : rebase_source : 8efed9328e58ac2715f98feb692b833d468e26f6
2016-10-10 11:33:51 +01:00
Andreas Tolfsen 53a095de5d geckodriver: changes: update before 0.11.0 release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: fb7d60b8749271b0f3a02f038e5ea745724fd62a

--HG--
extra : rebase_source : d12a6de8a645da369ff8de596e1e06406f7c0af2
2016-10-10 11:33:00 +01:00
Andreas Tolfsen 41bec5f2c8 geckodriver: rename firefoxOptions to moz:firefoxOptions
See https://github.com/w3c/webdriver/pull/343 for further details on
extension capabilities.

Fixes #250.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 312be489f34f08b6f7735c18b0f5ca9c2dbc66e6

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : bd8b3b67958cb7360a97b6f1a3aa324213757877
2016-10-05 16:52:07 +01:00
Andreas Tolfsen c091124b15 geckodriver: Replace log with slog (#226)
* replace log with slog

The default log library has the disadvantage that it cannot be
reinitialised.  geckodriver needs the ability to set up the logger
again with a log level passed in with the `firefoxOptions.log.level`
capability when a new session request is made.

slog redirects calls to the log crate's `info!()`, `debug!()`, `trace!()`
&c. macros to a drain that we reinitialise when `logging::init(level:
LogLevel)` is called.

As this patch removes the env-logger crate, support for setting the
`RUST_LOG` environment variable is removed with this patch.  The correct
ways to request a log level is to use the `-vv` or `--log LEVEL` flags, or
the `firefoxOptions.log.level` capability as described in the README.md.

This patch also fixes a bug where the capability log level would
override the log level requested by flag in `MarionetteSettings`, causing
subsequent WebDriver sessions to inherit the log level.  For example,
if session 1 used `firefoxOptions.log.level` and session 2 did not,
it would reuse the level from before because `MarionetteSettings` would
not be reset.

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: bbdda6053ad15864393fe25bc067ad3668f9c047

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : 178fe69b0d0f46d57fd95dfe95af40884b3dfe29
2016-09-30 14:59:35 +01:00
Andreas Tolfsen d3cdc2dbed geckodriver: Merge pull request #235 from andreastt/webdriver-port-alias
Add --webdriver-port argument back as a hidden alias

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 72c4a05273dbc898cd07643265b933ff61cee04b

--HG--
extra : rebase_source : 919b903294473889cac09b4ac91e95a2507d2abc
2016-09-21 23:41:26 +01:00
Andreas Tolfsen f6dc56a653 geckodriver: improve changelog's explanation of new firefoxOptions capabilities
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: f5c4181ed5018e79e1b27c18d7e9c87da5b6c82a

--HG--
extra : rebase_source : 761fa61253db2bb9ba7010be63305e687b505eb1
2016-09-07 17:41:51 +01:00
Andreas Tolfsen 482564c733 geckodriver: Set log verbosity from capability (#217)
* fix shorthand verbosity flags

* allow firefoxOptions.log.level capability to control logging

The firefoxOptions.log.level capability may optionally be passed to the
New Session command, which will initialise the env_logger and override
the verbosity level requested from command-line flags or the RUST_LOG
environment variable.

When the flags are used these will from now on also enable the env_logger.

* remove default implementation for MarionetteSettings

* raise default log level to info

Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 2277355d9c7c542266d76884c406622d7d6ed24c

committer: jgraham <james@hoppipolla.co.uk>

--HG--
extra : rebase_source : d0ea581f2e91a65de3a08c0b958c43c0565b37d2
2016-09-07 16:27:59 +01:00
Andreas Tolfsen b8b0ff1a28 geckodriver: mention prefs capability change in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 0b2d50d8bf788e2c167014839fe1ba45cd2b48c0

--HG--
extra : rebase_source : d3a94f7bc782b86d486ae209f8c8c3798acd1235
2016-09-06 17:07:52 +01:00
Andreas Tolfsen e0a4b7ac36 geckodriver: fixup! update changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: d8eac1a8bdde4833fda2ca8a2f0f88866ee3d147

--HG--
extra : rebase_source : 211cff7cab7fd802391454948744157d66f00ba8
2016-09-06 11:03:47 +01:00
Andreas Tolfsen ac6f0f524b geckodriver: update changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 649c7271206f5d3da80625b2cb478201f48ff817

--HG--
extra : rebase_source : fdc4acb547fec22b17085f61640acd2d2bbf8ee2
2016-09-06 11:03:03 +01:00
Andreas Tolfsen 8aedb0de75 geckodriver: mention change to capabilities in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 6e6335a492e34ae5025bc16714ca38834f8e9f31

--HG--
extra : rebase_source : 364e05aaaf53d1a955a596994c668c4b1a82a8d0
2016-08-22 17:18:35 +01:00
Andreas Tolfsen 7887f154c4 geckodriver: add pop-up block disable mention to changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 4bad959553915e2a6e54ea51b2d5ccc2c934deec

--HG--
extra : rebase_source : af21302894d7dd03564cfba6063420d7148793c0
2016-08-06 15:56:57 +01:00
Andreas Tolfsen 888e0b8271 geckodriver: explain that e10s flag was removed in changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: da1bee2b2db981646730fccd09650f87b0cbf8fe

--HG--
extra : rebase_source : 3e2094db8e0e0d09531bb6c30ee578ad38c32fff
2016-08-05 19:55:43 +01:00
Andreas Tolfsen dd5ac1e5a9 geckodriver: correct changes and point ouf e10s default change
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 06e93f481f7627a7bcebb7c0b7d68e9262cdfbc1

--HG--
extra : rebase_source : 476a1e6954764835364b6e30cd5f33b2ec2bd2cd
2016-08-03 15:34:20 +01:00
AutomatedTester 2f88395dc6 geckodriver: Bump GeckoDriver to 0.10.0 and update Changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 1c2ec08cf02d6fa25796781d281487afcb0f8f99

--HG--
extra : rebase_source : 8993edf4bc1e45c0fec0fe0c7fe73c5e52744fac
2016-08-02 23:40:31 +01:00
Andreas Tolfsen f2c92ace04 geckodriver: add unreleased items to changelog
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 41629b712c9febd4ccc25e84c7d69dc3f440e79f

--HG--
extra : rebase_source : 10eecf69ac5350d15dfca3e0ac4d96218eec4855
2016-07-07 18:15:23 +01:00
Andreas Tolfsen 4937814422 geckodriver: update changelog for 0.9.0 release
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 494d2ad8174566572cbb2d99098a5772801c16eb

--HG--
extra : rebase_source : 1cb0b201ac9780c129dbe30dfd2b6185fedd439e
2016-07-07 18:13:52 +01:00
Andreas Tolfsen d9161df980 geckodriver: changes: fix markdown headers
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 19b09764da55cb3131c6fe29be27275995bf6cbf

--HG--
extra : rebase_source : 3cdc6902dc1b4379fff0ee1ef6605d25d74fb8fb
2016-06-24 11:43:32 +01:00
Andreas Tolfsen bfe0f997bb geckodriver: changes: add changelog (#111)
Source-Repo: https://github.com/mozilla/geckodriver
Source-Revision: 7dc1b86d486f23b14d36c069dbf1b292492db2f6

committer: David Burns <david.burns@theautomatedtester.co.uk>

--HG--
extra : rebase_source : 3e29c153bef597a9bdff9a5a0013ea48b194fbf5
2016-06-23 20:55:06 +01:00