Create a PageObject instance with the specified options.
Destroy the current object.
Get the general state of the object.
Returns a Promise that resolves with a GeneralStateType instance.
Get the original bounding box of the object.
Returns a Promise that resolves with a Rect instance.
Get the type of the object.
Returns the type of the object.Like:
StaticcreateCreate a PageObject instance.
Create a PageObject instance with the specified options.
Returns a Promise that resolves with a PageObject instance.
Create a PageObject instance. Instead of creating an instance in new mode, use create to create an instance.