Bug 1131763 - Remove dead constants in marionette.py. r=dburns
authorBoris Kudryavtsev <boriskk.work>
Thu, 19 Feb 2015 18:30:00 -0500
changeset 257286 492a04a7efc41b24211c08c7191d68a2b2499f4b
parent 257285 3df9f4282a657dfd19da52fc65f3b09efd5ada0b
child 257287 7c0a5a6f94e133fecaa82d203583f0a40a2aad8c
push id4610
push userjlund@mozilla.com
push dateMon, 30 Mar 2015 18:32:55 +0000
treeherdermozilla-beta@4df54044d9ef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdburns
bugs1131763
milestone38.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1131763 - Remove dead constants in marionette.py. r=dburns
testing/marionette/client/marionette/marionette.py
--- a/testing/marionette/client/marionette/marionette.py
+++ b/testing/marionette/client/marionette/marionette.py
@@ -23,25 +23,16 @@ from mozrunner import B2GEmulatorRunner
 import geckoinstance
 import errors
 
 class HTMLElement(object):
     """
     Represents a DOM Element.
     """
 
-    CLASS = "class name"
-    SELECTOR = "css selector"
-    ID = "id"
-    NAME = "name"
-    LINK_TEXT = "link text"
-    PARTIAL_LINK_TEXT = "partial link text"
-    TAG = "tag name"
-    XPATH = "xpath"
-
     def __init__(self, marionette, id):
         self.marionette = marionette
         assert(id is not None)
         self.id = id
 
     def __str__(self):
         return self.id