Skip to content

Instantly share code, notes, and snippets.

View AutomatedTester's full-sized avatar
😃
Happy to help!

David Burns AutomatedTester

😃
Happy to help!
View GitHub Profile
# HG changeset patch
# User David Burns <dburns@mozilla.com>
# Date 1383671367 0
# Tue Nov 05 17:09:27 2013 +0000
# Node ID 03e93201780f48aad424121dbb031a522ebfb9a8
# Parent 6e221af28de237792c2a19ce2974656b0395a714
try: -b do -p emulator,panda -u marionette-webapi -t none
diff --git a/testing/marionette/client/marionette/tests/unit/test_submit.py b/testing/marionette/client/marionette/tests/unit/test_submit.py
--- a/testing/marionette/client/marionette/tests/unit/test_submit.py
ZSH_HIGHLIGHT_STYLES[globbing]='fg=yellow'
ZSH_HIGHLIGHT_STYLES[path]='bold'
# HG changeset patch
# User David Burns <dburns@mozilla.com>
# Date 1380817890 -3600
# Thu Oct 03 17:31:30 2013 +0100
# Node ID b5d43173b33c3df3e94aa920e7401e0151ec76e7
# Parent fd3c18aa90d61d737ac8b18ec89774b220768c09
Bug 23273: change dictionary references to valid MapClass WebIDL reference
diff --git a/02_commands.html b/02_commands.html
--- a/02_commands.html
@AutomatedTester
AutomatedTester / request.patch
Last active December 23, 2015 06:49
updating to match webdriver protocol
# HG changeset patch
# User David Burns <dburns@mozilla.com>
# Date 1380024584 -3600
# Tue Sep 24 13:09:44 2013 +0100
# Node ID b559195e3da069e7b823fc8461e863b7564be54a
# Parent 0406c0df0453b28cee3f1ffd167c3c7952734f30
[mq]: bug807282
diff --git a/testing/marionette/client/marionette/client.py b/testing/marionette/client/marionette/client.py
--- a/testing/marionette/client/marionette/client.py
Mozilla-Aurora
Added on :2012-05-14T10:01:08
Tree has been closed for a total of 77 days, 12:35:55 since it was created on 2012-05-14T10:01:08
2012-10 : 2 days, 21:26:59
2012-11 : 4 days, 10:47:38
2012-12 : 1 day, 4:43:02
2012-6 : 53 days, 11:19:22
2012-8 : 15:30:04
2012-9 : 1 day, 13:01:28
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABDUAAAI7CAYAAAD8qqCrAAAgAElEQVR4nOzdzaorbdzg5XLmaXgCdQpaTh3kBOLASXAY6IFkJkGQwIttUCQ4iU0TaY2TgBIU0mKENrwSbCJNbAkSGtINEdJQDmpQ4N9BvipZn/t59rPWvrfXBQV7rZWV+sia3L99111ZAAAAACQo++4DAAAAAPgjRA0AAAAgSaIGAAAAkCRRAwAAAEiSqAEAAAAkSdQAAAAAkiRqAAAAAEkSNQAAAIAk/YGoUcV+u47lYhGLxSJWm12cqjoiIurDJlbb4089wPJ4jONtO0X1U9/9z6piu5zHbLGOU/01e6zLU+N6HON4Oj5+/bCVX3NQAAAA8A1+KGrsl+NoZVlkWRZZVkSn0778O4t2rx/tLItssPqJh1fGuJXd9pFlRay+bZxex367i7IRL/bz7u3YiuH6S45iPSwa1+ODLR/G6Sfssz7tY7sXSAAAAPi1fDJq1LEc3gNG0ZvFfYhbxWp8H9y3fvbgvlo3Qkor1t80tt7Pe5Fl+UNUWQ9b92vyU2PO2zaj8+fQHS/jFPXDMWStUZyijv1yHMXl6z9/ufbR++mxCgAAAP68T0WNw7zX+N//fhxeec1m3PnLokb7m6NGvZtG/sr+6+MyOvn5+5P1z73t5i2bURFZb9H4+h6bsuIeMQ6L/vl4/9T9OlXMuvlf87kCAADAn/Rx1Kh30W3c0tAabd544TEGb/yPfnnYxXq1itVm++raE9VpH+vVMpbLVWz3T3Hg3ahRxX6zjuVyGcvVJo5vDODr0+H2/pvdIZ4PoS4PsV2vYrVaxXqzi1Pjfar9/GGmyGJ/irKsIuoyTqcyyvIUp1MZVf34ru+dU3k6xem2nU/otN+e9799eXzN8x0XWQwaF+GtqBHVKoqsE7s6Iuoydpt1rFar2B6eb0ipLj9bx+5wivK4i+3+FBFVLAbNmSiLOJXlw+03AAAA8J0+jBrlZvSwTsPona
(marionette_venv)☁ marionette [a8dc7af] ⚡ python
Python 2.7.2+ (default, Jul 20 2012, 22:15:08)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from marionette import Marionette
>>> m = Marionette()
>>> m.start_session()
u'18'
>>> m.navigate('http://www.facebook.com')
True
# HG changeset patch
# User David Burns <dburns@mozilla.com>
# Date 1375917599 25200
# Node ID 09c1757d4b28e390462885b171a3a8e49300fcca
# Parent 47bd850cb89b3cd03b180d75fba6670ed40701a4
[mq]: patch.patch
diff --git a/testing/marionette/client/marionette/tests/unit/test_visibility.py b/testing/marionette/client/marionette/tests/unit/test_visibility.py
--- a/testing/marionette/client/marionette/tests/unit/test_visibility.py
+++ b/testing/marionette/client/marionette/tests/unit/test_visibility.py
diff --git a/common/src/web/hidden.html b/common/src/web/hidden.html
new file mode 100644
index 0000000..0e8097e
--- /dev/null
+++ b/common/src/web/hidden.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div id='singleHidden' hidden>This will not be visible</div>
+<div id='parent' hidden>
+ <div id='child'>My parent is hidden so you can't see me</div>
# HG changeset patch
# User David Burns <dburns@mozilla.com>
# Date 1374242907 -3600
# Node ID 0da76205083da63a576619718b1e508cf8222dcb
# Parent 6b3289859dd181270b43076ceecc0693b516879c
[mq]: bug837621-2
diff --git a/testing/marionette/atoms/atoms.js b/testing/marionette/atoms/atoms.js
--- a/testing/marionette/atoms/atoms.js
+++ b/testing/marionette/atoms/atoms.js