Exemplo n.º 1
0
 /**
  * @param parent driver that this element belongs to
  * @param objectId the EcmaScript object ID of this element
  */
 public OperaWebElement(OperaDriver parent, int objectId) {
   this.parent = parent;
   this.objectId = objectId;
   parent.objectIds.add(objectId);
   debugger = parent.getScriptDebugger();
   execService = parent.getExecService();
   runtimeId = debugger.getRuntimeId();
 }
 /**
  * @param parent driver that this element belongs to
  * @param objectId the EcmaScript object ID of this element
  */
 public OperaWebElement(OperaDriver parent, int objectId) {
   this.parent = parent;
   this.objectId = objectId;
   parent.objectIds.add(objectId);
   debugger = parent.getScriptDebugger();
   execService = parent.getExecService();
   runtimeId = debugger.getRuntimeId();
   setId(String.valueOf(hashCode()));
   setFileDetector(parent.getFileDetector());
 }