WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::ElementHandle Class Referenceabstract

#include <webdriver_element_id.h>

Inheritance diagram for webdriver::ElementHandle:
Collaboration diagram for webdriver::ElementHandle:

Public Member Functions

 ElementHandle ()
 
virtual bool is_valid () const =0
 
virtual bool equals (const ElementHandle *other) const =0
 

Protected Member Functions

virtual ~ElementHandle ()
 

Friends

class base::RefCounted< ElementHandle >
 

Detailed Description

This class represents a Webdriver Element handle. Custom implementation should inherit and implement.

Constructor & Destructor Documentation

webdriver::ElementHandle::ElementHandle ( )
inline
virtual webdriver::ElementHandle::~ElementHandle ( )
inlineprotectedvirtual

Member Function Documentation

virtual bool webdriver::ElementHandle::equals ( const ElementHandle other) const
pure virtual

compares two handle

Parameters
otherhandle to compare
Returns
true if two handles reference same element(widget)

Implemented in webdriver::QElementHandle.

virtual bool webdriver::ElementHandle::is_valid ( ) const
pure virtual
Returns
true if handle references valid element (widget)

Implemented in webdriver::QElementHandle.

Friends And Related Function Documentation

friend class base::RefCounted< ElementHandle >
friend

The documentation for this class was generated from the following file: